ds.get_player_profile: Get Player Profile

Description Usage Arguments Value

Description

get_player_profile() imports the player profile page corresponding to a given player ID and returns a JSON list object.

Usage

1
2
ds.get_player_profile(player_id, try_tolerance = 3,
  agents = hockeyR::ds.get_user_agents()[sample(1:4, size = 1)])

Arguments

player_id

the player id

try_tolerance

the number of tries before moving on.

agents

a useragent, selected from the list of useragents.

Value

json list objet


pbulsink/hockeyR documentation built on May 15, 2019, 4:16 p.m.