Team totals of one finished game: the box score's total row, home then away.
Endpoint: GET https://pleagueofficial.com/api/boxscore.preciser.php?id={gid}&away_tab=total&home_tab=total (after the game page)
Value
A hoopR_data tibble: Team totals of one finished game: the box score's total row, home then away. An empty
valid answer is a zero-row tibble with these columns, in this order (sportsdataverse-py pleague_box_teams):
| col_name | type | description |
| gid | integer | P. LEAGUE+ game id on the site: ONE global integer sequence over every stage and season (1-12 = 2020-21 pre-season, 13 = the 2020-21 opener, 197 = the 2022-23 opener, 662 = the 2025-26 opener), with gaps; a row id, not a count. The {gid} of /game/{gid}. |
| side | character | Which team the row belongs to: home or away. The box lists home first, the play-by-play and the schedule list away first. |
| minutes | character | Team minutes 'mm:ss' ('240:00' = 5 players x 48 min; more with overtime). |
| seconds | integer | Team seconds on court (14400 = 240 minutes): the site's value in 2020-21 and 2021-22, derived from minutes from 2022-23. |
| points | integer | Team points; equals the final score (the runtime checks it). |
| fg2_made | integer | Team 2-point field goals made. |
| fg2_att | integer | Team 2-point field goals attempted. |
| fg2_pct | double | Team 2-point percentage, 0-100. |
| fg3_made | integer | Team 3-point field goals made. |
| fg3_att | integer | Team 3-point field goals attempted. |
| fg3_pct | double | Team 3-point percentage, 0-100. |
| ft_made | integer | Team free throws made. |
| ft_att | integer | Team free throws attempted. |
| ft_pct | double | Team free-throw percentage, 0-100. |
| reb | integer | Team total rebounds, including team rebounds that no player row carries (so it can exceed the sum of the player rows). |
| reb_off | integer | Team offensive rebounds. |
| reb_def | integer | Team defensive rebounds. |
| ast | integer | Team assists in the game (the total row). |
| stl | integer | Team steals in the game. |
| blk | integer | Team blocks made in the game. |
| tov | integer | Team turnovers. |
| pf | integer | Team personal fouls. |
| plus_minus | integer | Sum of the players' plus/minus (2020-21 and 2021-22 only; null from 2022-23). |
Details
Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in pleague_schedule().
See also
Other P. LEAGUE+ Functions:
pleague_box_players(),
pleague_game(),
pleague_officials(),
pleague_pbp(),
pleague_periods(),
pleague_player(),
pleague_player_seasons(),
pleague_preciser_injury(),
pleague_preciser_lead_flow(),
pleague_preciser_rotation(),
pleague_preciser_score_log(),
pleague_preciser_shots(),
pleague_preciser_summary_teams(),
pleague_preciser_win_probability(),
pleague_schedule(),
pleague_standings(),
pleague_stat_player(),
pleague_team_crosswalk()
Examples
# \donttest{
try(pleague_box_teams(gid = 197))
#> ── P. LEAGUE+ Team Box from pleagueofficial.com ───────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-10-31 21:33:21 UTC
#> # A tibble: 2 × 23
#> gid side minutes seconds points fg2_made fg2_att fg2_pct fg3_made fg3_att
#> <int> <chr> <chr> <int> <int> <int> <int> <dbl> <int> <int>
#> 1 197 home 240:00 14400 102 26 59 44.1 12 28
#> 2 197 away 240:00 14400 94 25 55 45.4 11 26
#> # ℹ 13 more variables: fg3_pct <dbl>, ft_made <int>, ft_att <int>,
#> # ft_pct <dbl>, reb <int>, reb_off <int>, reb_def <int>, ast <int>,
#> # stl <int>, blk <int>, tov <int>, pf <int>, plus_minus <int>
# }
