Skip to contents

Get NBA G-League Stats API Live Boxscore

Get NBA G-League Stats API Live Boxscore

Usage

nbagl_live_boxscore(game_id, ...)

Arguments

game_id

Game ID

...

Additional arguments passed to an underlying function like httr.

Value

Returns a named list of data frames: game_details, arena, officials, home_team_boxscore, away_team_boxscore, home_team_player_boxscore, away_team_player_boxscore, home_team_linescores, away_team_linescores

game_details

col_nametypesdescription
game_idcharacterUnique game identifier.
game_time_localcharacterGame time local.
game_time_utccharacterGame start time in UTC (ISO 8601 timestamp).
game_time_homecharacterGame time home.
game_time_awaycharacterGame time away.
game_etcharacterGame et.
durationintegerDuration.
game_codecharacterESPN game code (numeric identifier).
game_status_textcharacterGame status display text (e.g. 'Final', '4:32 - 4th').
game_statusintegerGame status label.
regulation_periodsintegerRegulation periods.
periodintegerPeriod of the game (1-4 quarters; 5+ for OT).
game_clockcharacterGame clock.
attendanceintegerReported attendance.
selloutcharacterSellout.
home_team_idintegerUnique identifier for the home team.
home_team_namecharacterHome team name.
home_team_citycharacterHome team city / location.
home_team_tricodecharacterHome team three-letter code.
home_team_scoreintegerHome team's score.
home_team_in_bonuscharacterHome team's team in bonus.
home_team_timeouts_remainingintegerHome team's team timeouts remaining.
away_team_idintegerUnique identifier for the away team.
away_team_namecharacterAway team name.
away_team_citycharacterAway team city / location.
away_team_tricodecharacterAway team three-letter code.
away_team_scoreintegerAway team's score.
away_team_in_bonuscharacterAway team's team in bonus.
away_team_timeouts_remainingintegerAway team's team timeouts remaining.

arena

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

officials

col_nametypesdescription
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.
assignmentcharacterAssignment.

home_team_boxscore

col_nametypesdescription
team_idintegerUnique team identifier.
team_namecharacterFull team display name (e.g. 'Las Vegas Aces').
team_citycharacterTeam city or region (e.g. 'Las Vegas').
team_tricodecharacterThree-letter team code (e.g. 'LAS' / 'NYL').
team_scoreintegerTeam's score / final score.
team_in_bonuscharacterTeam in bonus.
team_timeouts_remainingintegerTeam timeouts remaining.
assistsintegerTotal assists.
assists_turnover_rationumericAssists turnover ratio.
bench_pointsintegerPoints scored by the bench.
biggest_leadintegerBiggest lead.
biggest_lead_scorecharacterBiggest lead score.
biggest_scoring_runintegerBiggest scoring run.
biggest_scoring_run_scorecharacterBiggest scoring run score.
blocksintegerTotal blocks.
blocks_receivedintegerShots blocked by opponents while attempting.
fast_break_points_attemptedintegerNumber of fast break points attempted.
fast_break_points_madeintegerNumber of fast break points made.
fast_break_points_percentagenumericFast break points percentage (0-1 decimal).
field_goals_attemptedintegerField goal attempts (2-pt + 3-pt).
field_goals_effective_adjustednumericField goals effective adjusted.
field_goals_madeintegerField goals made (2-pt + 3-pt).
field_goals_percentagenumericField goal percentage (0-1 decimal).
fouls_offensiveintegerOffensive fouls.
fouls_drawnintegerPersonal fouls drawn (by opponent's actions).
fouls_personalintegerPersonal fouls.
fouls_teamintegerFouls team.
fouls_technicalintegerTechnical fouls.
fouls_team_technicalintegerFouls team technical.
free_throws_attemptedintegerFree throw attempts.
free_throws_madeintegerFree throws made.
free_throws_percentagenumericFree throw percentage (0-1 decimal).
lead_changesintegerLead changes.
minutescharacterMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
minutes_calculatedcharacterMinutes calculated from game-clock differences.
pointsintegerPoints scored.
points_againstintegerPoints allowed.
points_fast_breakintegerFast-break points scored.
points_from_turnoversintegerPoints from turnovers.
points_in_the_paintintegerPoints in the paint.
points_in_the_paint_attemptedintegerNumber of points in the paint attempted.
points_in_the_paint_madeintegerNumber of points in the paint made.
points_in_the_paint_percentagenumericPoints in the paint percentage (0-1 decimal).
points_second_chanceintegerSecond-chance points scored.
rebounds_defensiveintegerDefensive rebounds.
rebounds_offensiveintegerOffensive rebounds.
rebounds_personalintegerRebounds personal.
rebounds_teamintegerRebounds team.
rebounds_team_defensiveintegerRebounds team defensive.
rebounds_team_offensiveintegerRebounds team offensive.
rebounds_totalintegerTotal rebounds.
second_chance_points_attemptedintegerNumber of second chance points attempted.
second_chance_points_madeintegerNumber of second chance points made.
second_chance_points_percentagenumericSecond chance points percentage (0-1 decimal).
stealsintegerTotal steals.
three_pointers_attemptedintegerThree-point field goal attempts.
three_pointers_madeintegerThree-point field goals made.
three_pointers_percentagenumericThree-point field goal percentage (0-1 decimal).
time_leadingcharacterTime leading.
times_tiedintegerTimes tied.
true_shooting_attemptsnumericNumber of true shooting attempted.
true_shooting_percentagenumericTrue shooting percentage (0-1).
turnoversintegerTotal turnovers.
turnovers_teamintegerTurnovers team.
turnovers_totalintegerTurnovers total.
two_pointers_attemptedintegerNumber of two pointers attempted.
two_pointers_madeintegerNumber of two pointers made.
two_pointers_percentagenumericTwo pointers percentage (0-1 decimal).

away_team_boxscore

col_nametypesdescription
team_idintegerUnique team identifier.
team_namecharacterFull team display name (e.g. 'Las Vegas Aces').
team_citycharacterTeam city or region (e.g. 'Las Vegas').
team_tricodecharacterThree-letter team code (e.g. 'LAS' / 'NYL').
team_scoreintegerTeam's score / final score.
team_in_bonuscharacterTeam in bonus.
team_timeouts_remainingintegerTeam timeouts remaining.
assistsintegerTotal assists.
assists_turnover_rationumericAssists turnover ratio.
bench_pointsintegerPoints scored by the bench.
biggest_leadintegerBiggest lead.
biggest_lead_scorecharacterBiggest lead score.
biggest_scoring_runintegerBiggest scoring run.
biggest_scoring_run_scorecharacterBiggest scoring run score.
blocksintegerTotal blocks.
blocks_receivedintegerShots blocked by opponents while attempting.
fast_break_points_attemptedintegerNumber of fast break points attempted.
fast_break_points_madeintegerNumber of fast break points made.
fast_break_points_percentagenumericFast break points percentage (0-1 decimal).
field_goals_attemptedintegerField goal attempts (2-pt + 3-pt).
field_goals_effective_adjustednumericField goals effective adjusted.
field_goals_madeintegerField goals made (2-pt + 3-pt).
field_goals_percentagenumericField goal percentage (0-1 decimal).
fouls_offensiveintegerOffensive fouls.
fouls_drawnintegerPersonal fouls drawn (by opponent's actions).
fouls_personalintegerPersonal fouls.
fouls_teamintegerFouls team.
fouls_technicalintegerTechnical fouls.
fouls_team_technicalintegerFouls team technical.
free_throws_attemptedintegerFree throw attempts.
free_throws_madeintegerFree throws made.
free_throws_percentagenumericFree throw percentage (0-1 decimal).
lead_changesintegerLead changes.
minutescharacterMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
minutes_calculatedcharacterMinutes calculated from game-clock differences.
pointsintegerPoints scored.
points_againstintegerPoints allowed.
points_fast_breakintegerFast-break points scored.
points_from_turnoversintegerPoints from turnovers.
points_in_the_paintintegerPoints in the paint.
points_in_the_paint_attemptedintegerNumber of points in the paint attempted.
points_in_the_paint_madeintegerNumber of points in the paint made.
points_in_the_paint_percentagenumericPoints in the paint percentage (0-1 decimal).
points_second_chanceintegerSecond-chance points scored.
rebounds_defensiveintegerDefensive rebounds.
rebounds_offensiveintegerOffensive rebounds.
rebounds_personalintegerRebounds personal.
rebounds_teamintegerRebounds team.
rebounds_team_defensiveintegerRebounds team defensive.
rebounds_team_offensiveintegerRebounds team offensive.
rebounds_totalintegerTotal rebounds.
second_chance_points_attemptedintegerNumber of second chance points attempted.
second_chance_points_madeintegerNumber of second chance points made.
second_chance_points_percentagenumericSecond chance points percentage (0-1 decimal).
stealsintegerTotal steals.
three_pointers_attemptedintegerThree-point field goal attempts.
three_pointers_madeintegerThree-point field goals made.
three_pointers_percentagenumericThree-point field goal percentage (0-1 decimal).
time_leadingcharacterTime leading.
times_tiedintegerTimes tied.
true_shooting_attemptsnumericNumber of true shooting attempted.
true_shooting_percentagenumericTrue shooting percentage (0-1).
turnoversintegerTotal turnovers.
turnovers_teamintegerTurnovers team.
turnovers_totalintegerTurnovers total.
two_pointers_attemptedintegerNumber of two pointers attempted.
two_pointers_madeintegerNumber of two pointers made.
two_pointers_percentagenumericTwo pointers percentage (0-1 decimal).

home_team_player_boxscore

col_nametypesdescription
team_idintegerUnique team identifier.
team_namecharacterFull team display name (e.g. 'Las Vegas Aces').
team_citycharacterTeam city or region (e.g. 'Las Vegas').
team_tricodecharacterThree-letter team code (e.g. 'LAS' / 'NYL').
team_scoreintegerTeam's score / final score.
team_in_bonuscharacterTeam in bonus.
team_timeouts_remainingintegerTeam timeouts remaining.
statuscharacterStatus label.
orderintegerDisplay order within the result set.
person_idintegerUnique player identifier (V3 endpoints).
jersey_numcharacterJersey number worn by the player.
positioncharacterListed roster position (G, F, C, etc.).
startercharacterTRUE if the player was in the starting lineup; FALSE otherwise.
oncourtcharacterOncourt.
playedcharacterPlayed.
assistsintegerTotal assists.
blocksintegerTotal blocks.
blocks_receivedintegerShots blocked by opponents while attempting.
field_goals_attemptedintegerField goal attempts (2-pt + 3-pt).
field_goals_madeintegerField goals made (2-pt + 3-pt).
field_goals_percentagenumericField goal percentage (0-1 decimal).
fouls_offensiveintegerOffensive fouls.
fouls_drawnintegerPersonal fouls drawn (by opponent's actions).
fouls_personalintegerPersonal fouls.
fouls_technicalintegerTechnical fouls.
free_throws_attemptedintegerFree throw attempts.
free_throws_madeintegerFree throws made.
free_throws_percentagenumericFree throw percentage (0-1 decimal).
minusnumericMinus.
minutescharacterMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
minutes_calculatedcharacterMinutes calculated from game-clock differences.
plusnumericPlus.
plus_minus_pointsnumericPlus/minus point differential while on court.
pointsintegerPoints scored.
points_fast_breakintegerFast-break points scored.
points_in_the_paintintegerPoints in the paint.
points_second_chanceintegerSecond-chance points scored.
rebounds_defensiveintegerDefensive rebounds.
rebounds_offensiveintegerOffensive rebounds.
rebounds_totalintegerTotal rebounds.
stealsintegerTotal steals.
three_pointers_attemptedintegerThree-point field goal attempts.
three_pointers_madeintegerThree-point field goals made.
three_pointers_percentagenumericThree-point field goal percentage (0-1 decimal).
turnoversintegerTotal turnovers.
two_pointers_attemptedintegerNumber of two pointers attempted.
two_pointers_madeintegerNumber of two pointers made.
two_pointers_percentagenumericTwo pointers percentage (0-1 decimal).
namecharacterDisplay name.
name_icharacterInitialed name (e.g. 'A. Wilson').
first_namecharacterPlayer's first name.
family_namecharacterPlayer's family / last name.
not_playing_reasoncharacterNot playing reason.
not_playing_descriptioncharacterNot playing description.

away_team_player_boxscore

col_nametypesdescription
team_idintegerUnique team identifier.
team_namecharacterFull team display name (e.g. 'Las Vegas Aces').
team_citycharacterTeam city or region (e.g. 'Las Vegas').
team_tricodecharacterThree-letter team code (e.g. 'LAS' / 'NYL').
team_scoreintegerTeam's score / final score.
team_in_bonuscharacterTeam in bonus.
team_timeouts_remainingintegerTeam timeouts remaining.
statuscharacterStatus label.
orderintegerDisplay order within the result set.
person_idintegerUnique player identifier (V3 endpoints).
jersey_numcharacterJersey number worn by the player.
positioncharacterListed roster position (G, F, C, etc.).
startercharacterTRUE if the player was in the starting lineup; FALSE otherwise.
oncourtcharacterOncourt.
playedcharacterPlayed.
assistsintegerTotal assists.
blocksintegerTotal blocks.
blocks_receivedintegerShots blocked by opponents while attempting.
field_goals_attemptedintegerField goal attempts (2-pt + 3-pt).
field_goals_madeintegerField goals made (2-pt + 3-pt).
field_goals_percentagenumericField goal percentage (0-1 decimal).
fouls_offensiveintegerOffensive fouls.
fouls_drawnintegerPersonal fouls drawn (by opponent's actions).
fouls_personalintegerPersonal fouls.
fouls_technicalintegerTechnical fouls.
free_throws_attemptedintegerFree throw attempts.
free_throws_madeintegerFree throws made.
free_throws_percentagenumericFree throw percentage (0-1 decimal).
minusnumericMinus.
minutescharacterMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
minutes_calculatedcharacterMinutes calculated from game-clock differences.
plusnumericPlus.
plus_minus_pointsnumericPlus/minus point differential while on court.
pointsintegerPoints scored.
points_fast_breakintegerFast-break points scored.
points_in_the_paintintegerPoints in the paint.
points_second_chanceintegerSecond-chance points scored.
rebounds_defensiveintegerDefensive rebounds.
rebounds_offensiveintegerOffensive rebounds.
rebounds_totalintegerTotal rebounds.
stealsintegerTotal steals.
three_pointers_attemptedintegerThree-point field goal attempts.
three_pointers_madeintegerThree-point field goals made.
three_pointers_percentagenumericThree-point field goal percentage (0-1 decimal).
turnoversintegerTotal turnovers.
two_pointers_attemptedintegerNumber of two pointers attempted.
two_pointers_madeintegerNumber of two pointers made.
two_pointers_percentagenumericTwo pointers percentage (0-1 decimal).
namecharacterDisplay name.
name_icharacterInitialed name (e.g. 'A. Wilson').
first_namecharacterPlayer's first name.
family_namecharacterPlayer's family / last name.
not_playing_reasoncharacterNot playing reason.
not_playing_descriptioncharacterNot playing description.

home_team_linescores

col_nametypesdescription
periodintegerPeriod of the game (1-4 quarters; 5+ for OT).
period_typecharacterPeriod type.
scoreintegerFinal score.

away_team_linescores

col_nametypesdescription
periodintegerPeriod of the game (1-4 quarters; 5+ for OT).
period_typecharacterPeriod type.
scoreintegerFinal score.

Details

 nbagl_live_boxscore(game_id = "2052500034")

Author

Saiem Gilani