Skip to contents

Club profile: names, region, country, status.

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

Usage

vtb_infobasket_team(team_id, 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).

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: Club profile: names, region, country, status. The columns are always these, in this order (sportsdataverse-py vtb_infobasket_team); 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 team id (TeamID): one club's entry in a competition family (Lokomotiv Kuban = 2650). Joins to /Widget/Team*/{teamId} and equals the v2 API teamId. The scope check compares it with the request.
team_typeintegerTeam type code: 1 on the club record.
team_name_rucharacterClub name, Russian.
team_name_encharacterClub name, English.
team_short_name_rucharacterClub short name, Russian.
team_short_name_encharacterClub short name, English.
team_abc_name_rucharacterClub abbreviation, Russian (the full name in the sample).
team_abc_name_encharacterClub abbreviation, English.
team_genderintegerTeam gender code: 0 on every sample (men).
team_regionintegerInfobasket region id of the club's city.
team_countryintegerCountry id of the club (1 = Russia, unverified).
team_logointegerLogo flag; 0 in the samples.
team_uniform1integerFirst uniform colour code.
team_uniform2integerSecond uniform colour code.
team_statusintegerClub record status (1 active).
team_record_idintegerId of the club-record name (CurrentTeamName.TeamID, 2259 for team 2650): a different key space from team_id.

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_team(team_id = 2650))
#> ── VTB Infobasket Team from org.infobasket.su ─────────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-10-31 21:35:30 UTC
#> # A tibble: 1 × 16
#>   team_id team_type team_name_ru     team_name_en    team_short_name_ru
#>     <int>     <int> <chr>            <chr>           <chr>             
#> 1    2650         1 Локомотив-Кубань Lokomotiv Kuban Локомотив-Кубань  
#> # ℹ 11 more variables: team_short_name_en <chr>, team_abc_name_ru <chr>,
#> #   team_abc_name_en <chr>, team_gender <int>, team_region <int>,
#> #   team_country <int>, team_logo <int>, team_uniform1 <int>,
#> #   team_uniform2 <int>, team_status <int>, team_record_id <int>
# }