Description Usage Arguments Details
View source: R/fetch-schedule.R
Function to get game IDs for a given time period
1 2 3 4 5 6 | fetch_schedule(
season = NULL,
start_date = NULL,
end_date = NULL,
season_type = 2
)
|
season |
Season to query (e.g., '20152016'). Passing nothing will return the current day |
start_date |
A beginning date to start (format - '2019-03-04') |
end_date |
A last date of the range (format - '2019-03-04') |
season_type |
The season type, where 1 = preseason, 2 = regular season, 3 = playoffs, 4 = all-star (Default 2) |
If season, start_date, and end_date are NOT provided, the default will just be the current date
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.