Skip to contents

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}

Usage

sportpress_game_film(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 with one row per play-by-play event. Its columns are listed in return_columns (subset(return_columns, fn == "sportpress_game_film")) and in the searchable return columns article.

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

family_bnxt_league lists every function in this family.