Learn R Programming

nhlscraper (version 0.4.2)

nhl_api: Call the NHL API with 429 (rate limit) error-handling

Description

Call the NHL API with 429 (rate limit) error-handling

Usage

nhl_api(path, query = list(), type)

Value

parsed JSON (i.e., data.frame or list)

Arguments

path

character

query

list

type

character of 'w' for web, 's' for stats, and 'r' for records