Skip to contents

Wrappers around the modern NHL Web API at api-web.nhle.com/v1/.... These cover game feeds, schedules, standings, rosters, gamecenter, draft, scoreboard, scores, meta, location, partner-game, where-to-watch, smartlinks, postal-lookup, ppt-replay, and WSC PBP.

All responses are clean JSON parsed with jsonlite::fromJSON() and wrapped in the fastRhockey_data S3 class via make_fastRhockey_data().

Details

Game-level

FunctionEndpoint familyPurpose
nhl_game_feed()gamecenter/{id}/play-by-playFull PBP + rosters + game info
nhl_game_boxscore()gamecenter/{id}/boxscorePlayer + team boxscore tables
nhl_game_shifts()stats/rest/en/shiftchartsPer-shift records (with HTML fallback for empty endpoints)
nhl_game_story()wsc/game-story/{id}Narrative-format recap
nhl_game_content()gamecenter/{id}/...Media + content
nhl_gamecenter_landing()gamecenter/{id}/landingGame-center landing payload
nhl_wsc_pbp()wsc/play-by-play/{id}WSC narrative-format play-by-play
nhl_ppt_replay()ppt-replay/...Event-level replay metadata
nhl_ppt_replay_goal()ppt-replay/goal/...Goal-specific replay metadata

Schedule / scores

FunctionEndpoint familyPurpose
nhl_schedule()schedule/{date}Daily / season schedule
nhl_schedule_calendar()schedule-calendar/{date}Calendar view
nhl_club_schedule()club-schedule/{team}/seasonPer-club schedule
nhl_scoreboard()scoreboard/{date}/nowLive + daily scoreboard
nhl_scores()score/{date}Scores
nhl_tv_schedule()network/tv-scheduleTV broadcast schedule
nhl_where_to_watch()where-to-watch/{date}Region-aware watch info

Standings / seasons

FunctionEndpoint familyPurpose
nhl_standings()standings/{date}Current / historical standings
nhl_standings_season()standings-seasonSeason list
nhl_seasons()seasons + rankingsSeasons + draft rankings
nhl_playoff_carousel()playoff-series/carousel/...Playoff carousel
nhl_playoff_schedule()playoff-series/{year}/{seriesLetter}Playoff schedule

Teams

FunctionEndpoint familyPurpose
nhl_teams()teamsTeam info
nhl_teams_info()(via nhl_teams)Team info by abbreviation
nhl_teams_roster()roster/{team}/currentCurrent roster
nhl_roster_season()roster/{team}/{season}Roster by season
nhl_team_prospects()prospects/{team}Team prospects
nhl_team_scoreboard()scoreboard/{team}/nowTeam-specific scoreboard
nhl_team_summary_range()(helper)Multi-season team summary
nhl_conferences()(derived from standings)Conferences
nhl_conferences_info()(derived)Conference details
nhl_divisions()(derived)Divisions
nhl_divisions_info()(derived)Division details

Players

FunctionEndpoint familyPurpose
nhl_player_info()player/{id}/landingPlayer biographical info
nhl_player_game_log()player/{id}/game-logPlayer game logs
nhl_player_spotlight()player-spotlightFeatured player spotlight
nhl_skater_summary_range()(helper)Multi-season skater summary
nhl_goalie_summary_range()(helper)Multi-season goalie summary
nhl_all_players_by_season()(helper)All rostered players across teams for a season

Aggregators

FunctionEndpoint familyPurpose
nhl_game_ids_by_season()(helper)All game IDs across teams for a season
FunctionEndpoint familyPurpose
nhl_meta()meta + playoff-series + per-game metaLeague / game / series metadata
nhl_postal_lookup()postal-lookup/{zip}Broadcast region by postal code
nhl_smartlinks()NHL.com smart-link routerSmart-link resolver