My requirement is to get images from the web. What I tried is -
I created a Bing search resource to get keys and endpoint. I now have two keys for the endpoint - https://api.bing.microsoft.com/
Ran the below code in a python notebook.
from azure.cognitiveservices.search.imagesearch import ImageSearchClient as api
from msrest.authentication import CognitiveServicesCredentials as auth
key = <value of my key>
client = api('https://api.bing.microsoft.com/', auth(key))
p = client.images.search(query='grizzly bear', count=1, min_height=128, min_width=128)
Last line gives a ErrorResponseException: Operation returned an invalid status code 'Resource Not Found' error.
Please advise.