Description Usage Arguments Value See Also Examples
View source: R/nhl_tournaments.R
Create an NHL API URL for tournaments
1 | nhl_url_tournaments(tournamentTypes, seasons = NULL, expand = NULL)
|
tournamentTypes |
Those are exposed via shorthand functions
|
seasons |
Alternatively, also accepts Some API endpoints, notably |
expand |
|
character()
, API URLs, same length as combinations of
tournamentTypes
, seasons
and expand
.
1 2 3 | nhlapi:::nhl_url_tournaments("olympics")
nhlapi:::nhl_url_tournaments("playoffs", 2015:2016)
nhlapi:::nhl_url_tournaments("playoffs", 2015:2016, "round.series")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.