Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

teamInfoCommon not working #77

Closed
bialesdaniel opened this issue Nov 7, 2019 · 4 comments
Closed

teamInfoCommon not working #77

bialesdaniel opened this issue Nov 7, 2019 · 4 comments

Comments

@bialesdaniel
Copy link

I can't get the teamInfoCommon endpoint to work. Though I think its an issue with stats.nba.com cause I can't get to it if I hit http://stats.nba.com/stats/teamInfoCommon/ Any idea if nba.com is acting up today or maybe they killed that endpoint

@bttmly
Copy link
Owner

bttmly commented Nov 8, 2019

I think https://nba.com has been in a long process of deprecating the endpoints under the https://stats.nba.com/stats umbrella – they seem to be moving to https://data.nba.com/data endpoints – the methods in this package under nba.data still work. Seems like today they finally shut down the old endpoints.

@bialesdaniel
Copy link
Author

The playerStats still seems to be working. Is the switchover to the data endpoints as simple as just changing the host or are the endpoints very different?

@bttmly
Copy link
Owner

bttmly commented Nov 8, 2019

turns out they're really picky about the Referer header. Try 4.11.0I think it should be fixed

@bttmly bttmly closed this as completed Nov 8, 2019
@bttmly
Copy link
Owner

bttmly commented Nov 8, 2019

@bialesdaniel the data endpoints are completely different from the stats endpoints from what I can tell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants