Skip to contents

Get NBA Stats API Boxscore Summary V3

Get NBA Stats API Boxscore Summary V3

Usage

nba_boxscoresummaryv3(game_id = "0022200021", ...)

Arguments

game_id

Game ID

...

Additional arguments passed to an underlying function like httr.

Value

Returns a named list of data frames: GameSummary, GameInfo, ArenaInfo, Officials, LineScore, InactivePlayers, LastFiveMeetings, OtherStats, AvailableVideo

GameSummary

col_nametypesdescription
game_idcharacterUnique game identifier.
game_codecharacterESPN game code (numeric identifier).
game_statusintegerGame status label.
game_status_textcharacterGame status display text (e.g. 'Final', '4:32 - 4th').
periodintegerPeriod of the game (1-4 quarters; 5+ for OT).
game_clockcharacterGame clock.
game_time_utccharacterGame start time in UTC (ISO 8601 timestamp).
game_etcharacterGame et.
away_team_idintegerUnique identifier for the away team.
home_team_idintegerUnique identifier for the home team.
durationintegerDuration.
attendanceintegerReported attendance.
selloutcharacterSellout.

GameInfo

col_nametypesdescription
game_idcharacterUnique game identifier.
game_datecharacterGame date (YYYY-MM-DD).
attendanceintegerReported attendance.
game_durationintegerGame duration.

ArenaInfo

col_nametypesdescription
game_idcharacterUnique game identifier.
arena_idintegerUnique identifier for arena.
arena_namecharacterArena name.
arena_citycharacterArena city.
arena_statecharacterArena state.
arena_countrycharacterArena country.
arena_timezonecharacterArena timezone.

Officials

col_nametypesdescription
game_idcharacterUnique game identifier.
person_idintegerUnique player identifier (V3 endpoints).
namecharacterDisplay name.
name_icharacterInitialed name (e.g. 'A. Wilson').
first_namecharacterPlayer's first name.
family_namecharacterPlayer's family / last name.
jersey_numcharacterJersey number worn by the player.

LineScore

col_nametypesdescription
game_idcharacterUnique game identifier.
team_idintegerUnique team identifier.
team_citycharacterTeam city or region (e.g. 'Las Vegas').
team_namecharacterFull team display name (e.g. 'Las Vegas Aces').
team_tricodecharacterThree-letter team code (e.g. 'LAS' / 'NYL').
team_slugcharacterURL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
team_winsintegerTeam wins.
team_lossesintegerTeam losses.
period1_scoreintegerPeriod1 score.
period2_scoreintegerPeriod2 score.
period3_scoreintegerPeriod3 score.
period4_scoreintegerPeriod4 score.
scoreintegerFinal score.

InactivePlayers

col_nametypesdescription
game_idcharacterUnique game identifier.
team_idintegerUnique team identifier.
person_idintegerUnique player identifier (V3 endpoints).
first_namecharacterPlayer's first name.
family_namecharacterPlayer's family / last name.
jersey_numcharacterJersey number worn by the player.

LastFiveMeetings

col_nametypesdescription
recency_orderintegerRecency order.
game_idcharacterUnique game identifier.
game_time_utccharacterGame start time in UTC (ISO 8601 timestamp).
game_etcharacterGame et.
game_statusintegerGame status label.
game_status_textcharacterGame status display text (e.g. 'Final', '4:32 - 4th').
away_team_idintegerUnique identifier for the away team.
away_team_citycharacterAway team city / location.
away_team_namecharacterAway team name.
away_team_tricodecharacterAway team three-letter code.
away_team_scoreintegerAway team's score.
away_team_winsintegerAway team's team wins.
away_team_lossesintegerAway team's team losses.
home_team_idintegerUnique identifier for the home team.
home_team_citycharacterHome team city / location.
home_team_namecharacterHome team name.
home_team_tricodecharacterHome team three-letter code.
home_team_scoreintegerHome team's score.
home_team_winsintegerHome team's team wins.
home_team_lossesintegerHome team's team losses.

OtherStats

col_nametypesdescription
game_idcharacterUnique game identifier.
team_idintegerUnique team identifier.
team_citycharacterTeam city or region (e.g. 'Las Vegas').
team_namecharacterFull team display name (e.g. 'Las Vegas Aces').
team_tricodecharacterThree-letter team code (e.g. 'LAS' / 'NYL').
pointsintegerPoints scored.
rebounds_totalintegerTotal rebounds.
assistsintegerTotal assists.
stealsintegerTotal steals.
blocksintegerTotal blocks.
turnoversintegerTotal turnovers.
field_goals_percentagenumericField goal percentage (0-1 decimal).
three_pointers_percentagenumericThree-point field goal percentage (0-1 decimal).
free_throws_percentagenumericFree throw percentage (0-1 decimal).
points_in_the_paintintegerPoints in the paint.
points_second_chanceintegerSecond-chance points scored.
points_fast_breakintegerFast-break points scored.
biggest_leadintegerBiggest lead.
lead_changesintegerLead changes.
times_tiedintegerTimes tied.
biggest_scoring_runintegerBiggest scoring run.
turnovers_teamintegerTurnovers team.
turnovers_totalintegerTurnovers total.
rebounds_teamintegerRebounds team.
points_from_turnoversintegerPoints from turnovers.
bench_pointsintegerPoints scored by the bench.

AvailableVideo

col_nametypesdescription
game_idcharacterUnique game identifier.
video_available_flagintegerVideo available flag.
pt_availableintegerPt available.
pt_xyz_availableintegerPt xyz available.
wh_statusintegerWh status.
hustle_statusintegerHustle status.
historical_statusintegerHistorical status.

Details

 nba_boxscoresummaryv3(game_id = "0022200021")

Author

Saiem Gilani