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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Python