getGameFeed: Get Game Feed

Description Usage Arguments Value Examples

Description

Get a NHL game feed. Includes play by play data with event locations, and after-game info like 3 stars.

Usage

1
getGameFeed(game, from = NULL)

Arguments

game

Required, get specific game feed. Gamecode in format YYYYTTNNNN, with:

YYYY

Season of game, 2017 for 20172018 season

TT

Type of game: Either 02 for regular season, or 03 for playoffs

NNNN

Game number: from 0001 to 1230 (prior to 2017) or 0001 to 1271 (2017 and onwards)

from

Time from which to update, format yyyymmdd_hhmmss

Value

The feed API output of games

Examples

1
2
#Get the game feed from mid 20162017
feed <- getGameFeed(2016020758)

pbulsink/nhlRapi documentation built on June 27, 2019, 6:35 p.m.