Nhl stats api

broken image

You can try and target specific regular season games by finding the Gamecenter page for it and ripping the game ID code out of it. 1-130ish in the pre-season, but it can be arbitrary. Preseason / Regular Season 2015020807 = game code, change this to access different gamesĠ2 = game type code 1 = preseason, 2 = regular season 3 = playoffsĠ807 = game ID generally 1-1230 in a normal regular season, but sometimes games will be missing (e.g., games cancelled due to weather) and sometimes games will be added on the end, starting with 1231 (e.g., make-up games for weather-cancelled games). Playoffs 2015030412 = game code, change this to access different gamesĢ015 = season code, first year of the season (e.g., 2015 is for the 2015-16 seasons)Ġ3 = game type code 1 = preseason, 2 = regular season 3 = playoffsĠ4 = playoff only: round number (1st round = 1, 2nd round = 2, ECF/WCF = 3, SCF = 4)ġ = series number: 1-8 in round 1, 1-4 in round 2, 1-2 in round 3,1 in round 4Ģ = game number: 1-7 for any given series The JSON game event feeds are what you need:

broken image

Not the guy who said he would do it, but here's some documentation of the NHL JSON I wrote for someone else the other day: Just click 'edit' next to your username at the top of this box and select your team.

broken image