Skip to contents

Header of a finished game: stage, venue, rules, the two teams and their scores.

Endpoint: GET https://org.infobasket.su/Widget/GetOnline/{game_id}

Usage

vtb_infobasket_game(game_id)

Arguments

game_id

Infobasket GameID (game_id in vtb_infobasket_calendar; the v2 matches' match_id), e.g. 921391. Global across seasons.

Value

A hoopR_data tibble: Header of a finished game: stage, venue, rules, the two teams and their scores. The columns are always these, in this order (sportsdataverse-py vtb_infobasket_game); an empty valid answer raises hoopR_no_data, a valid body with no rows for this frame is a zero-row tibble:

col_nametypedescription
is_onlinelogicalTrue while the game is live; False for a completed game.
game_statusintegerGame status: 0 planned, 1 completed, 2 live (the site's widget code). Samples are completed games.
max_periodintegerLast period played (4 = regulation; 5+ = overtime).
from_datecharacterUnobserved: null in every sample, so its type and meaning are unconfirmed.
game_datecharacterGame date (ISO), local.
has_timelogicalTrue when a tip-off time is set.
game_timecharacterTip-off time of day as 'HH.MM' (a dot, local time).
game_time_mskcharacterTip-off time of day as 'HH.MM' in Moscow time.
has_videologicalTrue when a video embed is attached.
tv_rucharacterTV channels, in Russian ('Match TV' = Match TV).
tv_encharacterTV channels, in English.
comp_name_rucharacterStage name, Russian ('Regulyarnyy chempionat' = 'Regular Season').
comp_name_encharacterStage name (e.g. 'Regular Season'), English.
league_name_rucharacterLeague name, Russian ('Edinaya liga VTB' = 'VTB United League').
league_name_encharacterLeague name, English.
league_short_name_rucharacterLeague short name, Russian.
league_short_name_encharacterLeague short name, English.
genderintegerCompetition gender code from the host (1 male, 0 unspecified).
comp_idintegerStage CompID of the game (50720 = the 2025-26 regular season): a stage below the season.
is3x3logicalTrue for a 3x3 competition (False in every sample).
season_comp_idintegerSeason-level CompID of the game (the body calls it LeagueID).
game_idintegerInfobasket GameID of the game (the v2 matches' match_id); global across seasons.
game_numbercharacterGame number within the competition, e.g. 'RS-002' (RS = regular season); playoff games use the series code.
game_date_timecharacterTip-off as an ISO 8601 string in Moscow time (+03:00), from Online.GameTime.
region_idintegerInfobasket region (city) id of the venue.
arena_idintegerInfobasket arena id; equals the v2 API venueId (11687 = SK Basket-Hall, Krasnodar).
venue_encharacterVenue, 'City, Arena', in English.
venue_rucharacterVenue, 'City, Arena', in Russian.
attendanceintegerSpectators at the game (null when not recorded).
period_countintegerRegulation periods (4).
period_extra_secondsintegerOvertime length in seconds (300 = 5 minutes).
period_minutescharacterPeriod lengths in minutes, comma separated ('10,10,10,10').
intervals_minutescharacterBreak lengths in minutes after each period, comma separated ('2,15,2,2').
personal_foulsintegerPersonal fouls that disqualify a player (5).
team_foulscharacterTeam-foul setting per period, comma separated (4 or 5 seen; exact meaning unverified).
players_on_courtintegerPlayers per team on the court (5).
free_throw_valueintegerPoints for a made free throw (1).
field_goal_valueintegerPoints for a made 2-point shot (2).
long_shot_valueintegerPoints for a made 3-point shot (3).
left_team_numberintegerTeam number drawn on the left in the widget (1 in every sample).
team_a_idintegerInfobasket TeamID of team A, the team listed first (the home side in the calendar).
score_aintegerFinal points of team A (listed first).
team_a_short_name_rucharacterThe team A (the home side in the calendar)'s short name in Russian (as the competition names it).
team_a_short_name_encharacterThe team A (the home side in the calendar)'s short name in English (as the competition names it).
team_a_name_rucharacterThe team A (the home side in the calendar)'s name in Russian (as the competition names it).
team_a_name_encharacterThe team A (the home side in the calendar)'s name in English (as the competition names it).
team_a_region_name_rucharacterThe team A (the home side in the calendar)'s region or city in Russian (as the competition names it).
team_a_region_name_encharacterThe team A (the home side in the calendar)'s region or city in English (as the competition names it).
team_b_idintegerInfobasket TeamID of team B, the team listed second (the away side).
score_bintegerFinal points of team B.
team_b_short_name_rucharacterThe team B (the away side)'s short name in Russian (as the competition names it).
team_b_short_name_encharacterThe team B (the away side)'s short name in English (as the competition names it).
team_b_name_rucharacterThe team B (the away side)'s name in Russian (as the competition names it).
team_b_name_encharacterThe team B (the away side)'s name in English (as the competition names it).
team_b_region_name_rucharacterThe team B (the away side)'s region or city in Russian (as the competition names it).
team_b_region_name_encharacterThe team B (the away side)'s region or city in English (as the competition names it).

Details

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

Examples

# \donttest{
  try(vtb_infobasket_game(game_id = 921391))
#> ── VTB Infobasket Game from org.infobasket.su ─────────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-10-31 21:35:21 UTC
#> # A tibble: 1 × 56
#>   is_online game_status max_period from_date game_date  has_time game_time
#>   <lgl>           <int>      <int> <chr>     <chr>      <lgl>    <chr>    
#> 1 FALSE               1          4 NA        2025-09-28 TRUE     14.00    
#> # ℹ 49 more variables: game_time_msk <chr>, has_video <lgl>, tv_ru <chr>,
#> #   tv_en <chr>, comp_name_ru <chr>, comp_name_en <chr>, league_name_ru <chr>,
#> #   league_name_en <chr>, league_short_name_ru <chr>,
#> #   league_short_name_en <chr>, gender <int>, comp_id <int>, is3x3 <lgl>,
#> #   season_comp_id <int>, game_id <int>, game_number <chr>,
#> #   game_date_time <chr>, region_id <int>, arena_id <int>, venue_en <chr>,
#> #   venue_ru <chr>, attendance <int>, period_count <int>, …
# }