Get NBA Stats API Player Compare
Get NBA Stats API Player Compare
nba_playercompare(
conference = "",
date_from = "",
date_to = "",
game_segment = "",
last_n_games = 0,
league_id = "00",
location = "",
measure_type = "Base",
month = 0,
opponent_team_id = 0,
outcome = "",
pace_adjust = "N",
per_mode = "Totals",
period = 0,
player_id_list = "202681,203078,2544,201567,203954",
plus_minus = "N",
rank = "N",
season = "2020-21",
season_segment = "",
season_type = "Regular Season",
shot_clock_range = "",
vs_conference = "",
vs_division = "",
vs_player_id_list = "201566,201939,201935,201142,203076"
)conference
date_from
date_to
game_segment
last_n_games
League - default: '00'. Other options include '10': WNBA, '20': G-League
location
measure_type
month
opponent_team_id
outcome
pace_adjust
per_mode
period
Player ID
plus_minus
rank
Season - format 2020-21
season_segment
Season Type - Regular Season, Playoffs, All-Star
shot_clock_range
vs_conference
vs_division
vs_player_id_list
Return a named list of data frames: Individual, OverallCompare