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
msrest.service_client.SDKClient
WebSearchClient

Constructor

WebSearchClient(endpoint, credentials)

Parameters

Name Description
endpoint
Required
str

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

credentials
Required

Subscription credentials which uniquely identify client subscription.

Variables

Name Description
config

Configuration for client.

web

Web operations

Methods

close

Close the client if keep_alive is True.

close

Close the client if keep_alive is True.

close() -> None