Skip to contents

Points and team fouls in each period of a finished game.

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

Usage

ibba_segev_period_scores(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.
periodintegerPeriod number (1-4 regulation, 5+ overtime).
home_pointsintegerPoints the home side scored IN this period (not cumulative).
away_pointsintegerPoints the away side scored IN this period (not cumulative).
home_foulsintegerTeam fouls the home side committed in this period.
away_foulsintegerTeam fouls the away side committed in this period.

Details

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