From 463027646171560e18e0f5b2c9c37b9e60621851 Mon Sep 17 00:00:00 2001 From: Gary Shen Date: Mon, 29 Jan 2018 17:39:28 -0500 Subject: [PATCH] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 22329b8..60592be 100644 --- a/README.md +++ b/README.md @@ -459,6 +459,9 @@ shots, PIMs, blocked, takeaways, giveaways and hits. `GET http://statsapi.web.nhl.com/api/v1/game/ID/content` Complex endpoint returning multiple types of media relating to the game including videos of shots, goals and saves. +#### Game IDs +The first 4 digits identify the season of the game (ie. 2017 for the 2017-2018 season). The next 2 digits give the type of game, where 01 = preseason, 02 = regular season, 03 = playoffs, 04 = all-star. The final 4 digits identify the specific game number. For regular season and preseason games, this ranges from 0001 to the number of games played. (1271 for seasons with 31 teams (2017 and onwards) and 1230 for seasons with 30 teams). For playoff games, the 2nd digit of the specific number gives the round of the playoffs, the 3rd digit specifies the matchup, and the 4th digit specifies the game (out of 7). + --- ### Schedule