nhl_url_awards: Create an NHL API URL for awards

Description Usage Arguments Value Examples

View source: R/nhl_awards.R

Description

Create an NHL API URL for awards

Usage

1
nhl_url_awards(awardIds = NULL)

Arguments

awardIds

integer(), vector of one or more award ids or NULL (default) for all awards. The current set of valid ids seems to be 1:24.

Value

character(), API URLs, same length as awardIds or length 1 if awardIds is NULL.

Examples

1
2
  nhlapi:::nhl_url_awards()
  nhlapi:::nhl_url_awards(1:3)

nhlapi documentation built on Feb. 20, 2021, 9:06 a.m.