Play-by-play ('film') of a finished game with court x/y (2021-22 and 2026-27 only).
Endpoint: GET https://bnxt.sportpress.info/api/v1/film/game/{competition_id}/{game_id}
Arguments
- competition_id
(required) Competition id (integer), ONE per season of the league: 24 = 2025-26, 25 = 2026-27 (
sportpress_phases()maps a season to it).- game_id
(required) Game id (integer), unique across seasons; from
sportpress_schedule()(game_id).
Value
A hoopR_data tibble: Play-by-play ('film') of a finished game with court x/y (2021-22 and 2026-27 only). An empty
valid answer raises hoopR_no_data; the columns are always these, in this order (sportsdataverse-py sportpress_game_film):
| col_name | type | description |
| game_id | integer | Game id the film was asked for (the body does not echo it). |
| competition_id | integer | Competition id the film was asked for; checked against the game. |
| order | integer | Event sequence number in the game, strictly increasing from 0. |
| period | integer | Period of the event: 1-4 quarters, 5 and up overtimes. |
| minute | integer | Whole minutes ELAPSED in the period (not clock remaining). |
| second | integer | Seconds elapsed within that minute. |
| team_side | character | Side of the game the row belongs to: home or away (the provider's is_home, or side 1 / 2). |
| competition_team_id | integer | Competition-team id (key space: sportpress competition teams): a team in ONE competition, so a club has a new id every season (Antwerp = 3 in 2021-22, 506 in 2025-26, 541 in 2026-27). uu_team_id is the stable club key. |
| team | character | Team display name including the sponsor; varies with language and playoff suffixes: never join on it. |
| team_short_name | character | Three-letter club code (ANT, MON, ...), stable across seasons in the samples. |
| event_code | integer | Provider event code: 1000 made shot, 1001 missed shot, 1002 defensive rebound, 1003 offensive rebound, 1004 steal, 1005 turnover, 1006 foul drawn, 1007 foul committed, 1008 assist, 1009 block, 1011 substitution, 1101 period marker; 2xxx team events (meaning unverified). |
| event_subcode | integer | Provider sub-type of the event: for shots 1, 2 and 5 = two-pointer, 3 = three-pointer, 4 = free throw; turnover and foul sub-types are unnamed by the provider. |
| x | integer | Court x position of the event in the provider's integer court coordinates (0 on events with none); the coordinate system and orientation are unverified. |
| y | integer | Court y position of the event in the provider's integer court coordinates (0 on events with none); the coordinate system and orientation are unverified. |
| home_score | integer | Running home score AFTER the event; the maximum is the final score. |
| away_score | integer | Running away score AFTER the event; the maximum is the final score. |
| player_id | integer | Player id of the actor; null on team events and period markers. |
| first_name | character | Given name of the player as entered in the CMS. |
| last_name | character | Family name of the player as entered in the CMS. |
| nationality_code | character | Nationality code in FIBA style (USA, BEL, NED): DIRTY, with lower-case variants, '/'-joined pairs (USA/BEL), the empty string and 'HOL'; normalise before joining. |
| birth_date | Date | Date of birth as shown on the public player page; null when unknown. |
| player2_id | integer | Player id of the second player; filled on substitutions only. |
| player2_first_name | character | Given name of the second player; substitutions only. |
| player2_last_name | character | Family name of the second player; substitutions only. |
Details
Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in sportpress_ui_strings().
sportpress_game_film(competition_id = 25, game_id = 11295)See also
Other BNXT League Functions:
sportpress_club_seasons(),
sportpress_competition_staff(),
sportpress_competition_teams(),
sportpress_game_box(),
sportpress_game_find(),
sportpress_game_leaders(),
sportpress_game_overview(),
sportpress_game_periods(),
sportpress_game_slider(),
sportpress_game_team_box(),
sportpress_game_top_performers(),
sportpress_nationality_codes(),
sportpress_phases(),
sportpress_player_career(),
sportpress_player_games(),
sportpress_player_rankings(),
sportpress_referees(),
sportpress_roster_find(),
sportpress_schedule(),
sportpress_season_roster(),
sportpress_standings(),
sportpress_team_find(),
sportpress_team_games(),
sportpress_team_player_averages(),
sportpress_team_rankings(),
sportpress_team_roster(),
sportpress_ui_strings()
