Skip to content

Releases: peruukki/nhl-score-api

Bring back game stats

06 Oct 13:27
Compare
Choose a tag to compare

Some data was moved in the NHL API from the /landing response to a /right-rail endpoint response: linescore, teamGameStats, shotsByPeriod, seasonSeries, gameInfo, gameReports, seasonSeriesWins and gameVideo. Make an additional /right-rail request for each game and merge the two responses before passing them on for parsing.

Full Changelog: 0.49.4...0.49.5

Handle missing game stats gracefully

05 Oct 08:08
Compare
Choose a tag to compare

Game stats have moved behind another NHL API endpoint, so they are currently unavailable. Fix the server to handle that gracefully, and return zero values in the stats instead of returning an Internal Server Error.

Full Changelog: 0.49.3...0.49.4

Fix requesting coming season's games

07 Sep 12:40
Compare
Choose a tag to compare

Fixed an assertion error related to current standings date when requesting coming season's games. Also added Utah team name information.

Full Changelog: 0.49.2...0.49.3

Don't archive schedule response until all games have video recaps

18 May 08:15
Compare
Choose a tag to compare

It was very much possible some games were missing the video recap link by the time they were stored in the long-time cache.

Full Changelog: 0.49.1...0.49.2

Fix period field in playoff overtime goals

28 Apr 08:51
Compare
Choose a tag to compare

"OT" was erroneously used for playoff overtime periods too, it should only be used for regular season overtime goals. This got broken when switching to the new NHL API, and the related test was incorrectly updated too.

Full Changelog: 0.49.0...0.49.1

Include game related links in `links` field in API responses

25 Apr 05:23
Compare
Choose a tag to compare

Switch current date earlier to avoid too stale latest scores

20 Apr 13:46
Compare
Choose a tag to compare

Update playoff series wins parsing to current schedule format

20 Apr 08:47
Compare
Choose a tag to compare

Check if standings have fully updated before archiving

10 Apr 19:25
Compare
Choose a tag to compare

Apparently there was at least one case where a game in official state hadn't been added to the current standings, so they were archived too soon. Try to prevent that by comparing standings to previous date's and verifying that all games played on the date have been included.

Full Changelog: 0.48.10...0.48.11

Archive standings once all games are in "official" state

28 Mar 06:14
Compare
Choose a tag to compare

This allows us to archive standings much sooner, without needing to wait for the next day.

Full Changelog: 0.48.9...0.48.10