Time Clock |
---|
– |
Team | Total |
---|---|
LAK | 0 |
ARI | 0 |
Team | Shots | Hits | Blocked | FO Wins | Giveaways | Takeaways | Power Plays |
---|---|---|---|---|---|---|---|
LAK | 0 | 0 | 0 | 0.0% | 0 | 0 | 0/0 |
ARI | 0 | 0 | 0 | 0.0% | 0 | 0 | 0/0 |
Start Times
PT | MT | CT | ET | AT |
---|---|---|---|---|
09:05PM | 10:05PM | 11:05PM | 12:05AM | 01:05AM |
I am open source! Report issues, contribute, and fund me on my GitHub page!
It worked!
Okay, so there was a lot of panic starting yesterday at around 2 PM, because after I got the bot working perfectly, the NHL SHUT DOWN their API and put a new one up that was completely different, with all different URLs and no documentation whatsoever. Some guys (who are WAY smarter than me) spent all day and night reverse engineering the new API… and then the old one came back up. If I had to guess, I’d say the old one is currently in the process of being replaced, so I am probably going to need to rewrite a lot of this bot. :(
Thanks for all of your work on this, it’s appreciated.
Absolutely no problem. I really wanted this bot here on lemmy late last season, and I figured, what better way than to make it myself. :)
I’ll do my best to help with that rewrite.
I would really appreciate the help! I am going to wait until they are done documenting the new API before I start on that, which will optimistically be early next week. Currently some weird stuff will need to be done, because there is no known way to get scoring plays or penalty plays, so we would need to iterate through all the plays and look for “type”: “goal” for all 350+ plays. And I really don’t want to do that if it can be avoided.
That almost seems like it’s not worth the trouble. At best, you’d end up with rubbish performance because of the reasons you mention.
I think I’m gonna have to do it anyway, unfortunately. It looks like the old API isn’t updating.