getGameLinescore: Get Game Linescore

Description Usage Arguments Value Examples

Description

Get a NHL game linescore. Includes goals, shots on goal, powerplay and goalie pulled status, number of skaters and shootout information if applicable

Usage

1

Arguments

game

Required, get specific game boxscore. 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)

Value

The linescore output of the API

Examples

1
2
#Get NHL game linescore from last game of regular season 20172018
linescore <- getGameLinescore(2017021271)

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