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.
Constructor
WebSearchClient(endpoint, credentials)
Parameters
Name | Description |
---|---|
endpoint
Required
|
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python