seemethere / nba_py

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

playerdashptshotlog is broken #9

Closed StephenCronin closed 8 years ago

StephenCronin commented 8 years ago

Not sure if NBA changed the API or not, but the shot logs, probably the most cool data endpoint doesn't exist any more. How did you define the endpoint space in the first place? maybe they changed the url?

seemethere commented 8 years ago

The way I had found all the endpoints was through a constants file found by going through the js files in the console. The file was named feeds.js and it seems as though the NBA has taken these away and is slowly limiting their outward facing API as more and more people become aware of it.

All of the endpoints seem to work as expected aside from these in particular: playerdashboardbygeneralsplits playerdashboardbyopponent playerdashboardbyshootingsplits playerdashptshotlog playerdashptreboundlogs