in reply to NHL Hockey Fans?

Fan from the 90s and this has been on my TODO list longer than it should have been.

I really should have done it a few years ago (Google says 2015) when the NHL began using MBL's backend tech for streaming games via Gamecenter in the US (which was garbage), providing access to statistics, the rulebook, player and team info, etc. Most of the tinkering I did back then was based on the unofficial documentation around MBL's feeds because the NHL had just barely started fleshing theirs out and not much worked.

A recent redesign of nhl.com brought a switch to a new API that's being documented now. I notice you're using the older statsapi.web.nhl.com in your repo but check out the work being done by dword4 and others on gitlab. If you're on Discord, there's a few there working to document it.

Replies are listed 'Best First'.
Re^2: NHL Hockey Fans?
by stevieb (Canon) on Oct 24, 2023 at 22:38 UTC

    This is awesome info, thanks!

    I'm not following my normal pattern of work on this distribution... I literally just slapped enough code together without any thought just to get my game reminders working (which they are). In the coming days I will go to work refactoring it into a proper, professional distribution. Because I've barely got anything working yet, I will certainly look at this new API.

    I'm very glad I asked this question! It would have been awful if I didn't, and then near the end of code writing with a boatload of tests, realize that I should have went with a different web API backend :)

    -stevieb9