Games of one round of a championship: teams, score, venue, referees and broadcasters.
Endpoint: GET https://www.legabasket.it/api/championships/get-championships-calendar-by-id (id=<championship_id>&d=<round>)
Value
A hoopR_data tibble: Games of one round of a championship: teams, score, venue, referees and broadcasters. The
columns are always these, in this order (sportsdataverse-py lba_calendar); a column the site adds later is appended after
them:
| col_name | type | description |
| season | integer | Season END year (2027 = 2026-27): the row's START year + 1. |
| game_id | integer | Game id (global across seasons); joins lba_calendar and lba_game. |
| game_status | character | Game status, number sent as a string: 0 scheduled, 1 live, 2 final (per the OSS client; only 2 sampled). |
| championship_id | integer | Championship id (season + phase) of the game. |
| championships_day_id | integer | Round id (championships_day_id key space: one round of one championship; joins filters.days[].id and standings championships_day_id; not the d param). |
| year | integer | Season START year (2026 = 2026-27); sdv END year = year + 1. |
| number | integer | Round number of the game, equal to day_serial (the d echo the capture checks). |
| match_datetime | character | Tip-off, ISO-8601 with the Italian offset (1995-96: midnight, no time kept). |
| match_hh | integer | Tip-off hour, local time. |
| match_mm | integer | Tip-off minute, local time. |
| home_final_score | integer | Final points of the home team. |
| visitor_final_score | integer | Final points of the away team. |
| target_score | character | Null in every sample (meaning unverified). |
| additional_time | integer | Overtime periods played (0 in every sample; reading inferred). |
| plant_id | integer | Arena id (arena key space; joins nothing specced). |
| websocket_match_id | integer | Live-feed game id, number sent as a string; separate from the game id. |
| ticketing_url | character | Ticket shop URL (null for old games). |
| has_streaming | integer | 1 when a stream exists, else 0. |
| updated_at | character | Timestamp, ISO-8601 with the Italian offset. Last update of the game row. |
| h_team_id | integer | Home team id (team-season). |
| h_team_name | character | Home team name (sponsor name of that season). |
| h_club_code | character | Home club code, e.g. TVB; null on the 2017-18 and 1995-96 calendar rows. |
| h_team_enabled | logical | Home team page enabled on the site. |
| home_logo_key | character | Image key: the image is {cdn_url}/{key}, resized copies {cdn_url}/variants/{key}/thumb or /large (the site's getApiImageUrl). |
| v_team_id | integer | Away team id (team-season). |
| v_team_name | character | Visitor team name (the sponsor name of that season). |
| v_club_code | character | Away club code (BCR); null on the 2017-18 and 1995-96 calendar rows. |
| v_team_enabled | logical | Away team page enabled on the site. |
| v_logo_key | character | Image key: the image is {cdn_url}/{key}, resized copies {cdn_url}/variants/{key}/thumb or /large (the site's getApiImageUrl). |
| town_id | integer | Town id of the arena (town key space; joins nothing specced). |
| plant_name | character | Name of the arena where the game is played. |
| town_name | character | Town of the arena. |
| day_code | character | Round code (1, 2, ...; string in game rows, integer in standings). |
| day_serial | integer | Round number (event_serial, the d param). |
| day_name | character | Round name, Italian: 1o Giornata = matchday 1. |
| match_serie_key | character | The two team ids joined low_high (1761_1764). |
| referees | character | JSON list of the game's referees (id, name, surname); null when the site lists none. |
| broadcasters | character | JSON list of the game's broadcasters (name, logo key); null when the site lists none. |
Details
Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in lba_championships().
See also
Other LBA Functions:
lba_box_score(),
lba_championships(),
lba_game(),
lba_game_log(),
lba_pbp(),
lba_pbp_legend(),
lba_player(),
lba_player_stats(),
lba_players(),
lba_players_leaderboard(),
lba_roster(),
lba_roster_coach(),
lba_shots(),
lba_standings(),
lba_team_box_score(),
lba_team_players_stats(),
lba_teams(),
lba_teams_leaderboard()
Examples
# \donttest{
try(lba_calendar(championship_id = 602, round = 1))
#> ── LBA Calendar from legabasket.it ────────────────────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-10-31 21:31:31 UTC
#> # A tibble: 8 × 38
#> season game_id game_status championship_id championships_day_id year number
#> <int> <int> <chr> <int> <int> <int> <int>
#> 1 2027 25602 2 602 4486 2026 1
#> 2 2027 25603 2 602 4486 2026 1
#> 3 2027 25605 2 602 4486 2026 1
#> 4 2027 25600 2 602 4486 2026 1
#> 5 2027 25601 2 602 4486 2026 1
#> 6 2027 25607 2 602 4486 2026 1
#> 7 2027 25604 2 602 4486 2026 1
#> 8 2027 25606 2 602 4486 2026 1
#> # ℹ 31 more variables: match_datetime <chr>, match_hh <int>, match_mm <int>,
#> # home_final_score <int>, visitor_final_score <int>, target_score <chr>,
#> # additional_time <int>, plant_id <int>, websocket_match_id <int>,
#> # ticketing_url <chr>, has_streaming <int>, updated_at <chr>,
#> # h_team_id <int>, h_team_name <chr>, h_club_code <chr>,
#> # h_team_enabled <lgl>, home_logo_key <chr>, v_team_id <int>,
#> # v_team_name <chr>, v_club_code <chr>, v_team_enabled <lgl>, …
# }
