swar / nba_api

An API Client package to access the APIs for NBA.com
MIT License
2.44k stars 525 forks source link

'https://stats.nba.com/stats/teamyearbyyearstats' endpoint is giving me a (JSONDecodeError: Expecting value: line 1 column 1 (char 0)) error when trying to load the info into a DataFrame #408

Open coryselzer opened 10 months ago

coryselzer commented 10 months ago

NBA API Version

v1.4.0

Issue

'https://stats.nba.com/stats/teamyearbyyearstats' endpoint is giving me a (JSONDecodeError: Expecting value: line 1 column 1 (char 0)) error when trying to load the info into a DataFrame. I am trying to get the TeamYearByYear stats to build a model.

Code

Screenshot 2023-11-20 at 6 51 30 PM