You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@appleyuchi Could you please try: client = WebSearchClient(CognitiveServicesCredentials(subscription_key), endpoint="https://api.cognitive.microsoft.com/bing/v7.0" )
@appleyuchi
We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.
error logs:
(Python3.6) appleyuchi@ubuntu19:bing搜索$ python test.py
File "test.py", line 10
client = WebSearchClient(endpoint="https://api.cognitive.microsoft.com/bing/v7.0", CognitiveServicesCredentials(subscription_key))
code location:
https://docs.microsoft.com/zh-cn/azure/cognitive-services/bing-web-search/quickstarts/client-libraries?pivots=programming-language-python
replication with above code:
https://paste.ubuntu.com/p/XhPgDTWGDZ/
app secret location:
https://azure.microsoft.com/zh-cn/try/cognitive-services/my-apis/?api=search-api-v7
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: