Description Usage Arguments Details Examples
View source: R/nhl_players_seasons.R
Create an NHL API URL for players' seasons statistics
1 | nhl_url_players_seasons(playerIds, seasons, playoffs = FALSE)
|
playerIds |
|
seasons |
Alternatively, also accepts Some API endpoints, notably |
playoffs |
|
If multiple players and seasons are provided, URLs will be created for all combinations of players and seasons.
1 2 3 4 5 6 7 8 9 | # Joe Sakic, regular season 1995/1996
nhlapi:::nhl_url_players_seasons(8451101L, 1995)
# Joe Sakic, playoffs 1995/1996, 1996/1997 and 1997/1998
nhlapi:::nhl_url_players_seasons(
8451101L,
1995:1997,
playoffs = TRUE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.