-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.cognitiveservices.search.websearch.WebSearchClient.yml
42 lines (39 loc) · 1.43 KB
/
azure.cognitiveservices.search.websearch.WebSearchClient.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
### YamlMime:PythonClass
uid: azure.cognitiveservices.search.websearch.WebSearchClient
name: WebSearchClient
fullName: azure.cognitiveservices.search.websearch.WebSearchClient
module: azure.cognitiveservices.search.websearch
inheritances:
- msrest.service_client.SDKClient
summary: 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:
syntax: WebSearchClient(endpoint, credentials)
parameters:
- name: endpoint
description: 'Supported Cognitive Services endpoints (protocol and
hostname, for example: "[https://westus.api.cognitive.microsoft.com](https://westus.api.cognitive.microsoft.com)",
"[https://api.cognitive.microsoft.com](https://api.cognitive.microsoft.com)").'
isRequired: true
types:
- <xref:str>
- name: credentials
description: 'Subscription credentials which uniquely identify
client subscription.'
isRequired: true
types:
- <xref:None>
variables:
- description: Configuration for client.
name: config
types:
- <xref:azure.cognitiveservices.search.websearch.WebSearchClientConfiguration>
- description: Web operations
name: web
types:
- <xref:azure.cognitiveservices.search.websearch.operations.WebOperations>
methods:
- uid: azure.cognitiveservices.search.websearch.WebSearchClient.close
name: close
summary: Close the client if keep_alive is True.
signature: close() -> None