We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b4bea4d + caeb90a commit 3aa4765Copy full SHA for 3aa4765
python/Search/BingAutosuggestv7.py
@@ -9,10 +9,11 @@
9
# *** Update or verify the following values. ***
10
# **********************************************
11
12
-# Replace the subscriptionKey string value with your valid subscription key.
13
-subscriptionKey = 'enter key here'
+# Add your Bing Autosuggest subscription key to your environment variables.
+subscriptionKey = os.environ['BING_AUTOSUGGEST_SUBSCRIPTION_KEY']
14
15
-host = 'api.cognitive.microsoft.com'
+# Add your Bing Autosuggest endpoint to your environment variables.
16
+host = os.environ['BING_AUTOSUGGEST_ENDPOINT']
17
path = '/bing/v7.0/Suggestions'
18
19
mkt = 'en-US'
0 commit comments