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

Live games aren't updated #54

Closed
garyking opened this issue Oct 6, 2018 · 2 comments
Closed

Live games aren't updated #54

garyking opened this issue Oct 6, 2018 · 2 comments

Comments

@garyking
Copy link

garyking commented Oct 6, 2018

Not sure where the problem lies, but there are some games that are ongoing right now, and the NBA website here shows the correct score and time remaining, yet this library's data (which presumably uses the same source) is lagging behind (i.e. showing scores and times that are a few minutes to an hour old).

@garyking
Copy link
Author

garyking commented Oct 6, 2018

After about 15 minutes of scores not being updated, it seems like they've been updated again. How often do the scores and times usually update? Is it expected that the scores update roughly every 15 minutes?

@bttmly
Copy link
Owner

bttmly commented Oct 7, 2018

I would guess that the NBA website is using a different endpoint for live game scores. If you poke around in dev tools on their website you might be able to figure out what endpoint it uses and then I can add that to this library. Adding endpoints is really easy – they are described in JSON form here so all we need is the URL and the parameter list (which is just derived from the query string)

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