Skip to contents

Team totals of both sides: final score, timeouts, lead stats, shooting, rebounds and team game stats.

Endpoint: GET https://stats.segevstats.com/realtimestat_heb/api/?method=getBoxScore

Usage

ibba_segev_team_box(game_id)

Arguments

game_id

(integer required): Segev game id (e.g. 50 = Hapoel Be'er Sheva vs Maccabi Tel Aviv, 2025-26 round 1): segev_game_id in ibba_games.

Value

A hoopR_data tibble with these columns:

col_nametypedescription
game_idintegerSegev game id (key space: one flat sequence across seasons and competitions); equals the IBBA ibba_games segev_game_id from 2025-26. Not an IBBA game id.
team_sidecharacterSide of the game: home or away (the feed's homeTeam / awayTeam; an action's parameters.team 1 = home, 2 = away).
team_idintegerSegev team id of the side (key space: Segev teams, stable across seasons). Not an IBBA team-season id; null on game-level actions.
scoreintegerFinal score of the side (homeScore / awayScore).
timeoutsintegerTimeouts the side took (the feed's homeTimeOut / awayTimeOut).
time_leadingcharacterTime the side led as 'mm:ss'.
biggest_leadintegerThe side's biggest lead in points.
times_tiedintegerTimes the score was tied (same value for both sides).
lead_changesintegerLead changes (same value for both sides).
fg2mintegerTwo-point field goals made.
fg2_missedintegerTwo-point field goals MISSED (not attempted; attempts = made + missed, verified against the IBBA box score).
fg3mintegerThree-point field goals made.
fg3_missedintegerThree-point field goals MISSED (not attempted).
ftmintegerFree throws made.
ft_missedintegerFree throws MISSED (not attempted).
drebintegerDefensive rebounds.
orebintegerOffensive rebounds.
foulsintegerFouls committed (the feed's f; equals the IBBA fouls).
fouls_drawnintegerFouls drawn (the feed's f_drawn; equals the IBBA fouls_drawn).
stealsintegerSteals made by the player or team.
turnoversintegerTurnovers committed by the player or team.
assistsintegerAssists credited to the player or team.
blocksintegerShots the player or team blocked.
blocks_againstintegerOwn shots that were blocked.
fast_break_ptsintegerFast-break points; for a team total it equals the P of the feed's 'P of N' fast-break stat.
second_chance_ptsintegerSecond-chance points (scored after an offensive rebound).
ptsintegerPoints scored by the player or side (free throws included).
valintegerEfficiency rating (the feed's rate; equals the IBBA VAL).
deflectionsintegerDeflections (count of deflection actions).
recoveriesintegerThe feed's rec count; unverified, probably loose-ball recoveries.
dunksintegerDunks made by the player or side.
offensive_fouls_drawnintegerOffensive fouls drawn (charges taken); inferred.
and_onesintegerAnd-one plays (a made basket plus a foul); inferred.
vpsdoubleThe feed's vps ratio with two decimals; its definition is unverified (it matches neither points per shot nor rate per minute).
fg2aintegerTwo-point field goals attempted, derived as made + missed.
fg3aintegerThree-point field goals attempted, derived as made + missed.
ftaintegerFree throws attempted, derived as made + missed.
pts_from_turnoversintegerPoints scored off opponent turnovers (the feed renamed the key in 2026-27).
pts_in_paintintegerPoints scored in the paint (the feed renamed the key in 2026-27).
starting_pointsintegerPoints scored by the starting five.
bench_pointsintegerPoints scored by the bench.
fast_break_possessionsintegerThe N of the feed's 'P of N' fast-break stat (fast-break possessions or attempts); unverified. Null before 2026-27 where the key differs.
defensive_stopsintegerDefensive stops; the feed adds it in 2026-27, null before.
biggest_scoring_runcharacterBiggest scoring run as the feed prints it ('23-0 (36-6)'); 2026-27 on, null before.

Details

Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in ibba_segev_game_info().

Examples

# \donttest{
  try(ibba_segev_team_box(game_id = 50))
#> ── IBBA Segev team box ────────────────────────────────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-10-31 21:30:51 UTC
#> # A tibble: 2 × 44
#>   game_id team_side team_id score timeouts time_leading biggest_lead times_tied
#>     <int> <chr>       <int> <int>    <int> <chr>               <int>      <int>
#> 1      50 home           11    92        1 01:37                   2          6
#> 2      50 away            2   104        2 34:32                  17          6
#> # ℹ 36 more variables: lead_changes <int>, fg2m <int>, fg2_missed <int>,
#> #   fg3m <int>, fg3_missed <int>, ftm <int>, ft_missed <int>, dreb <int>,
#> #   oreb <int>, fouls <int>, fouls_drawn <int>, steals <int>, turnovers <int>,
#> #   assists <int>, blocks <int>, blocks_against <int>, fast_break_pts <int>,
#> #   second_chance_pts <int>, pts <int>, val <int>, deflections <int>,
#> #   recoveries <int>, dunks <int>, offensive_fouls_drawn <int>, and_ones <int>,
#> #   vps <dbl>, fg2a <int>, fg3a <int>, fta <int>, pts_from_turnovers <int>, …
# }