README.md

Overview

nhlapi is a package for querying the NHL Stats API through R. This package is still under development and not all endpoints have been implemented yet.

Example usage

library(nhlapi)
teams <- get_teams()
player <- get_player("8475149")
game <- get_game_feed("2017020449")

teams$content
player$content
game$content

Installation and Setup

Installation can be done via devtools.

devtools::install_github("zamorarr/nhlapi")


zamorarr/nhlapi documentation built on May 14, 2019, 2:02 a.m.