nhl_url_conferences: Create an NHL API URL for conferences

Description Usage Arguments Value Examples

View source: R/nhl_conferences.R

Description

Create an NHL API URL for conferences

Usage

1
nhl_url_conferences(conferenceIds = NULL)

Arguments

conferenceIds

integer(), ids of the conferences or NULL (default) for all conferences As of end of 2019, the valid conference ids seem to be in the 1:7 range.

Value

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

Examples

1
2
  nhlapi:::nhl_url_conferences()
  nhlapi:::nhl_url_conferences(1:3)

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