Skip to contents

Get WNBA Stats API Player vs Player

Get WNBA Stats API Player vs Player

Usage

wnba_playervsplayer(
  date_from = "",
  date_to = "",
  game_segment = "",
  last_n_games = 0,
  league_id = "10",
  location = "",
  measure_type = "Base",
  month = 0,
  opponent_team_id = 0,
  outcome = "",
  pace_adjust = "N",
  per_mode = "Totals",
  period = 0,
  player_id = "202250",
  plus_minus = "N",
  rank = "N",
  season = "2022",
  season_segment = "",
  season_type = "Regular Season",
  vs_conference = "",
  vs_division = "",
  vs_player_id = "1628280"
)

Arguments

date_from

date_from

date_to

date_to

game_segment

game_segment

last_n_games

last_n_games

league_id

League - default: '00'. Other options include '10': WWNBA, '20': G-League

location

location

measure_type

measure_type

month

month

opponent_team_id

opponent_team_id

outcome

outcome

pace_adjust

pace_adjust

per_mode

per_mode

period

period

player_id

Player ID

plus_minus

plus_minus

rank

rank

season

Season - format 2022

season_segment

season_segment

season_type

Season Type - Regular Season, Playoffs, All-Star

vs_conference

vs_conference

vs_division

vs_division

vs_player_id

vs_player_id

Value

Return a named list of data frames: OnOffCourt, Overall, PlayerInfo, ShotAreaOffCourt, ShotAreaOnCourt, ShotAreaOverall, ShotDistanceOffCourt, ShotDistanceOnCourt, ShotDistanceOverall, VsPlayerInfo

Author

Saiem Gilani