nhl_url_players_allseasons {nhlapi}R Documentation

Create an NHL API URL for all players' seasons statistics

Description

Create an NHL API URL for all players' seasons statistics

Usage

nhl_url_players_allseasons(playerIds)

Arguments

playerIds

integer(), vector of one or more ids of the players. The ids correspond to the ids expected by the NHL API people endpoint. For most cases the playerNames argument can be provided for more convenient usage.

Examples

  # Joe Sakic, all seasons
  nhlapi:::nhl_url_players_allseasons(8451101L)

[Package nhlapi version 0.1.4 Index]