Description Usage Arguments Value Examples
Create an NHL API URL for schedules
1 2 3 4 5 6 7 8  | 
seasons | 
 
 Alternatively, also accepts  Some API endpoints, notably   | 
teamIds | 
 
  | 
startDate | 
 
  | 
endDate | 
 
  | 
gameTypes | 
 
  | 
expand | 
 
  | 
character(), vector of URLs.
1 2 3 4 5 6 7 8 9 10 11  |  nhlapi:::nhl_url_schedule(seasons = 2015:2016)
 nhlapi:::nhl_url_schedule(
   startDate = "2018-01-02",
   endDate = "2018-01-02"
 )
 nhlapi:::nhl_url_schedule(
   startDate = "2018-01-02",
   endDate = "2018-01-02",
   teamIds = c(29, 30),
   expand = "schedule.linescore"
 )
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.