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

Last publish date for standings is 2022-10-12, what is the update frequency? #18

Open
rudymiked opened this issue Oct 21, 2022 · 13 comments

Comments

@rudymiked
Copy link

What is the update frequency of the standings data?

https://data.nba.net/prod/v1/current/standings_all.json

The last update was on October 12th. I understand that this isn't your data... but do you have any idea how often this is updated or if this source is stale?

Thanks!

@carsonsaldanha
Copy link

It seems that the data.nba.net API got shut down. I found this alternative API: https://cdn.nba.com/static/json/liveData/scoreboard/todaysScoreboard_00.json
https://cdn.nba.com/static/json/liveData/boxscore/boxscore_{gameID}.json

However, I haven't found an endpoint for current standings yet.

@carsonsaldanha
Copy link

What API did you switch to on your repo btw? @rudymiked

@rudymiked
Copy link
Author

rudymiked commented Nov 1, 2022 via email

@carsonsaldanha
Copy link

carsonsaldanha commented Nov 1, 2022 via email

@rudymiked
Copy link
Author

rudymiked commented Nov 1, 2022 via email

@carsonsaldanha
Copy link

It seems to be blocking requests that are not from the nba.com domain despite using the provided headers. How did you get around this?

@rudymiked
Copy link
Author

So unfortunately, I have not figured that out yet... I just wrote a hack for now. I wrote a method that pulls the data and updates a storage table, and I run that method locally daily. I query the table in my application.

Still working on a fix... I thought adding the headers would work, but it still doesn't accept the headers I have provided when running on Azure. Let me know if you figure this out! I'll do the same.

@rudymiked
Copy link
Author

@rudymiked
Copy link
Author

rudymiked commented Nov 5, 2022 via email

@carsonsaldanha
Copy link

Mine still times out when making a request like this. Not sure if I'm missing any additional fields.

image

@rudymiked
Copy link
Author

rudymiked commented Nov 7, 2022 via email

@carsonsaldanha
Copy link

Same result. Are you able to make a request over JavaScript?

@rudymiked
Copy link
Author

rudymiked commented Nov 8, 2022 via email

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