Skip to contents

Per-player box score of a finished game, plus a team-credited line per side.

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

Usage

ibba_segev_player_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.
row_typecharacterplayer (one player's line) or team (actions credited to the team and no player, such as team rebounds and turnovers).
player_idintegerSegev player id (key space: Segev players, stable across seasons: Jaylen Hoard = 1000 in games 50 and 419); null on team lines and on actions without a player. Not an IBBA player-season id.
jersey_numberintegerJersey number as an integer.
starterlogicalTrue when the player was in the starting five.
on_courtlogicalTrue when the player was on court at the final buzzer or the feed's last state.
minutescharacterTime played as 'mm:ss'.
seconds_playedintegerTime played in seconds, derived from minutes.
plus_minusintegerPlus-minus while the player was on court, signed.
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.

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_player_box(game_id = 50))
#> ── IBBA Segev player box ──────────────────────────────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-10-31 21:30:50 UTC
#> # A tibble: 26 × 39
#>    game_id team_side team_id row_type player_id jersey_number starter on_court
#>      <int> <chr>       <int> <chr>        <int>         <int> <lgl>   <lgl>   
#>  1      50 home           11 player        1111             0 FALSE   TRUE    
#>  2      50 home           11 player        1179             5 FALSE   TRUE    
#>  3      50 home           11 player        1266             6 FALSE   FALSE   
#>  4      50 home           11 player        1114            14 FALSE   FALSE   
#>  5      50 home           11 player        1115            16 TRUE    FALSE   
#>  6      50 home           11 player        1249            17 FALSE   TRUE    
#>  7      50 home           11 player        1116            21 TRUE    TRUE    
#>  8      50 home           11 player        1117            22 FALSE   FALSE   
#>  9      50 home           11 player        1118            24 TRUE    TRUE    
#> 10      50 home           11 player        1119            35 TRUE    FALSE   
#> # ℹ 16 more rows
#> # ℹ 31 more variables: minutes <chr>, seconds_played <int>, plus_minus <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>, …
# }