Open DavidRSeWell opened 7 years ago
Seems like the referrer is the one to blame here, will test and have something up shortly
My guess is that this endpoint has been removed because I can't find any pages on stats.nba.com that lead to it. Maybe it was replaced with ShotChart ?
@mcdallas I still see it being used when you go to places like http://stats.nba.com/player/#!/201935/tracking/shots/
And it still shows up in the custom.min.js
leading me to believe it has something to do with the headers we are sending.
edit: nevermind I'm a dummy didn't realize you were looking for playerdashptshotlog
and not just playerdashptshot
It seems that most of the player.py endpoints are functioning however I am getting a 404 on the PlayerShotLogTracking. This same input works for PlayeerShootingSplits.
from nba_py import player
Aaron_brooks = player.get_player(first_name="Aaron",last_name="Brooks")
shot_log = player.PlayerShotLogTracking(player_id=Aaron_brooks)
HTTPError Traceback (most recent call last)