Reputation:
I am trying out MS Bing v7 API.
If I enter a curl request:
curl -H "Ocp-Apim-Subscription-Key:<MYKEY>" https://api.bing.microsoft.com/v7.0/search?q=vintage+cars&count=25&responseFilter=webpages,news,-images,-videos
I do not get 25 results, only #WebPages.0
to #WebPages.9
are returned. If, as seems to be suggested, I should use the offset
parameter (eg: &offset=0) in the above curl request, then (JSON) references to images and videos are returned (despite the -images,-videos) along with a web page count again of only 10. The same happens in Java code.
I realise the MS documentation is not up to date. There are, for example, references to WebPage (and other entities) with fields missing in the documentation (eg: richFacts in WebPage).
So have the count/offset/responseFilter parameters been changed or been updated or am I just using them wrong somehow?
Upvotes: 0
Views: 199
Reputation:
The answer is two things:
Upvotes: 0