xthepoet/pyBingSearchAPI

Demo only returning 200 code

danielcrowley opened this issue · 3 comments

Hi,
Struggling to get results from your example submitted, I'm just getting
bound method Response.json of Response [200]

Am I missing something obvious... it's been a long day...

Cheers,
Dan

It's possible the API has changed since I first pushed it. I can take a look.

Turns out requests 1.0 release changed .json from a property to a method .json() .
I'm going to commit a change that returns just the request, so the outside function call turns it to json so that it will work with both older versions of requests

Bah apologies, probably could have fixed that myself, saw the .json->.json() while googling.

Thanks!