Description Usage Arguments Value Examples
Get the NHL schedule for a team, a date (range) or with additional information.
1 2 | getSchedule(team = NULL, startDate = NULL, endDate = NULL,
scheduleType = NULL)
|
team |
Specific team's schedule to retrieve. optional, numeric |
startDate |
A single date or a date range may be entered, optional, must be coercable with as.Date() |
endDate |
If a date range is requested, the end date. For a single date, this may be left out. |
scheduleType |
additional schedule information may be requested:
|
The API output of schedules
1 2 3 4 5 | #see the schedule:
schedule<-getSchedule()
#see the schedule linescores:
linescores <- getSchedule(scheduleType = 'linescore')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.