diff --git a/bing-docs/bing-web-search/quickstarts/sdk/web-search-client-library-python.md b/bing-docs/bing-web-search/quickstarts/sdk/web-search-client-library-python.md index 3270c0cb..f37a7391 100644 --- a/bing-docs/bing-web-search/quickstarts/sdk/web-search-client-library-python.md +++ b/bing-docs/bing-web-search/quickstarts/sdk/web-search-client-library-python.md @@ -95,8 +95,14 @@ If the response contains web pages, images, news, or videos, the first result fo # Replace with your subscription key. subscription_key = "YOUR_SUBSCRIPTION_KEY" - # Instantiate the client and replace with your endpoint. - client = WebSearchClient(endpoint="YOUR_ENDPOINT", credentials=CognitiveServicesCredentials(subscription_key)) + # Instantiate the client and replace with the required endpoint. + ''' + https://api.bing.microsoft.com/v7.0/search - Web Search + https://api.bing.microsoft.com/v7.0/suggestions/search - Autosuggest + https://api.bing.microsoft.com/v7.0/images/search - Image Search + https://api.bing.microsoft.com/v7.0/videos/search - Video Search + ''' + client = WebSearchClient(endpoint="ENDPOINT", credentials=CognitiveServicesCredentials(subscription_key)) # Make a request. Replace Yosemite if you'd like. web_data = client.web.search(query="Yosemite")