seemethere / nba_py

Python client for NBA statistics located at stats.nba.com
BSD 3-Clause "New" or "Revised" License
1.05k stars 256 forks source link

Requires recent version of requests #41

Closed garionphx closed 7 years ago

garionphx commented 8 years ago

Just in case anyone else comes across this, I was getting nothing but "400 Bad Request" errors. I eventually tracked it down to the fact I was running an old version of requests (2.8.1).. Upgrading to 2.10.0 fixed my issue.

seemethere commented 8 years ago

Awesome I'll add that to the README!

osuhomebase commented 8 years ago

I tried upgrading to 2.10.0 and that did not seem to work. I still get 400 Bad Request. Did you do anything else, or just update requests?

seemethere commented 7 years ago

Updated the package on pypi with v0.1a2 which should resolve these issues. (https://github.com/seemethere/nba_py/commit/0fb85bf7845917b9caf70fc49833060ca4f1e08e)