Skip to contents

The competitions a club played in one season.

Endpoint: GET https://org.infobasket.su/Widget/GetTeamComps/{team_id}

Usage

vtb_infobasket_team_comps(team_id, season, lang = "en", tag = "vtb")

Arguments

team_id

Infobasket TeamID (team_id in the calendar, a box score or the v2 matches), e.g. 2650 (Lokomotiv Kuban).

season

Season END year (2026 = 2025-26); the wrapper maps it to the season-level Infobasket CompID with vtb_infobasket_seasons (one extra request per tag, cached). Required.

lang

Label language (en or ru). Most bodies carry both languages whatever is asked; the leader categories' labels follow it.

tag

Competition tag scoping the profile: vtb (VTB United League, default), vtbyouth, wbc, wpremier or rfb. The season table is read for this tag.

Value

A hoopR_data tibble: The competitions a club played in one season. The columns are always these, in this order (sportsdataverse-py vtb_infobasket_team_comps); an empty valid answer raises hoopR_no_data, a valid body with no rows for this frame is a zero-row tibble:

col_nametypedescription
team_idintegerInfobasket TeamID (2650 = Lokomotiv Kuban); the v2 teamId. Not a club-record id and not a registration id.
seasonintegerSeason END year (2026 = 2025-26): the season the request asked for, stamped by the runtime.
comp_idintegerCompetition id (the season or a stage of it).
comp_typeintegerStage type code: 0 season, regular season or group; 10 playoff container; 5 and 7 playoff series; -5 seen in season lists. Meanings inferred from the stage names, unverified.
comp_sortintegerSort order among sibling stages.
levelintegerDepth of the competition in the tree (1 = season level).
comp_name_rucharacterCompetition name, Russian ('Edinaya liga VTB' = 'VTB United League').
comp_name_encharacterStage name (e.g. 'Regular Season'), English.
parent_comp_idintegerUnobserved: null in every sample, so its type and meaning are unconfirmed.

Details

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

 vtb_infobasket_team_comps(season = 2026, team_id = 2650)