nhl_url_players {nhlapi}R Documentation

Create an NHL API URL for players

Description

Create an NHL API URL for players

Usage

nhl_url_players(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.

Value

character(), API URLs, same length as playerIds.

Examples

  nhlapi:::nhl_url_players(playerIds = c(8477474, 8477475))


[Package nhlapi version 0.1.4 Index]