Microsoft Azure SDK for Node.js - Cognitive Services Web Search
This project provides a Node.js package that makes it easy to work with Microsoft Azure Cognitive Services Web Search API. Right now it supports:
- Node.js version: 6.x or higher
How to Install
npm install azure-cognitiveservices-websearch
How to use
Create a Cognitive Services Bing Search Account
const msRestAzure = ; const CognitiveServicesManagement = ; let client; let createAccount = msRestAzure;
List the keys from the created account
let serviceKey; createAccount;
Create credentials
const CognitiveServicesCredentials = CognitiveServicesCredentials;let credentials = serviceKey;
Query the Web Search API
const WebSearchAPIClient = ;let webSearchApiClient = credentials; webSearchApiClientweb
More Detailed Information
https://azure.microsoft.com/en-us/try/cognitive-services/ under "Search"