WebSearchClient Class

The Web Search API lets you send a search query to Bing and get back search results that include links to webpages, images, and more.

Inheritance
WebSearchClient

Constructor

WebSearchClient(endpoint, credentials)

Parameters

endpoint
str
Required

Supported Cognitive Services endpoints (protocol and hostname, for example: "https://westus.api.cognitive.microsoft.com", "https://api.cognitive.microsoft.com").

credentials
None
Required

Subscription credentials which uniquely identify client subscription.

Variables

config
WebSearchClientConfiguration

Configuration for client.

web
WebOperations

Web operations