Skip to content

Commit

Permalink
Merge pull request #93 from wiazur/patch-53
Browse files Browse the repository at this point in the history
Updated key/endpoint
  • Loading branch information
wiazur authored Sep 26, 2019
2 parents bc6de6b + fb480e2 commit e5b21ac
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions python/Search/BingVideoSearchv7.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@
# *** Update or verify the following values. ***
# **********************************************

# Replace the subscriptionKey string value with your valid subscription key.
subscriptionKey = "enter key here"

# Verify the endpoint URI. At this writing, only one endpoint is used for Bing
# search APIs. In the future, regional endpoints may be available. If you
# encounter unexpected authorization errors, double-check this value against
# the endpoint for your Bing search instance in your Azure dashboard.
host = "api.cognitive.microsoft.com"
# Add your Bing Search V7 subscription key to your environment variables.
subscriptionKey = os.environ['BING_SEARCH_V7_SUBSCRIPTION_KEY']

# Add your Bing Search V7 endpoint to your environment variables.
host = os.environ['BING_SEARCH_V7_ENDPOINT']
path = "/bing/v7.0/videos/search"

term = "kittens"
Expand Down

0 comments on commit e5b21ac

Please sign in to comment.