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

play-by-play actual time #8

Open
mreid6 opened this issue Jan 15, 2024 · 2 comments
Open

play-by-play actual time #8

mreid6 opened this issue Jan 15, 2024 · 2 comments

Comments

@mreid6
Copy link

mreid6 commented Jan 15, 2024

I'd like to have a feed of all events across games. But there doesn't seem to be a "global" eventId, the sortOrder and eventIds seem to be game specific, so I'm having to parse periods, and event times to guess actual event time so i can sort all events. Anyone see another way?

Also, is the API delayed?

Thanks!

@Zmalski
Copy link
Owner

Zmalski commented Jan 29, 2024

I don't personally have an answer for the first question, but re: delay,

I haven't seen what seems to be any artificial delay or even rate-limiting with any API requests I've made. It's either an oversight or just the NHL being nice to us, so best not to abuse it.

@mreid6
Copy link
Author

mreid6 commented Jan 30, 2024

Thanks, the delay proved very temporary.

As far as the "real event-time", I'm trying to figure out a proxy - counting forward from puck drop is terribly inaccurate. So next I'll be trying to work backwards from current game-time.

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