Skip to contents

Teams of a season, one row per team-season with the stable club id.

Endpoint: GET https://www.legabasket.it/api/teams/get-teams (items=50&year=<season>)

Usage

lba_teams(season = NULL)

Arguments

season

Season END year (2027 = 2026-27). Omitted = the site's default season (unverified).

Value

A hoopR_data tibble with one row per team-season with the stable club id. Its columns are listed in return_columns (subset(return_columns, fn == "lba_teams")) 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 lba_championships().

See also

family_lba lists every function in this family.

Examples

# \donttest{
  try(lba_teams(season = 2027))
#> ── LBA Teams from legabasket.it ───────────────────────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-11-13 21:14:53 UTC
#> # A tibble: 16 × 8
#>    season team_id name                year club_id club_code updated_at logo_key
#>     <int>   <int> <chr>              <int>   <int> <chr>     <chr>      <chr>   
#>  1   2027    1765 Acqua S.Bernardo …  2026      12 CNT       2026-09-2… cszFkDr…
#>  2   2027    1771 APU Old Wild West…  2026      57 UD        2026-09-2… PdkXq2W…
#>  3   2027    1751 Armani Olimpia Mi…  2026      28 MIO       2026-07-0… e5xdeyc…
#>  4   2027    1761 BC Roma             2026     246 RMB       2026-09-2… gxrVRq4…
#>  5   2027    1752 Bertram Derthona …  2026     111 BDBT      2026-09-2… LQkDL6W…
#>  6   2027    1763 Dolomiti Energia …  2026     104 TN        2026-09-2… iQJMb4i…
#>  7   2027    1768 Longobardi Scafat…  2026      50 SCF       2026-09-2… jEWc31d…
#>  8   2027    1762 Maxima Roma         2026     247 RMX       2026-09-2… YzevUx1…
#>  9   2027    1772 Napoli Basketball   2026      42 PZZ       2026-08-1… 48PaXiF…
#> 10   2027    1764 Nutribullet Trevi…  2026     107 TVU       2026-09-2… Y6Kc6v8…
#> 11   2027    1766 Openjobmetis Vare…  2026      60 VA        2026-09-2… dvvAgKm…
#> 12   2027    1767 Pallacanestro Tri…  2026     106 TSS       2026-11-0… T5zGJQ7…
#> 13   2027    1769 Tezenis Verona      2026      63 VR        2026-09-2… FCHwHiU…
#> 14   2027    1753 Umana Reyer Venez…  2026      61 VE        2026-07-0… EGx6Svr…
#> 15   2027    1760 UNA Hotels Reggio…  2026      44 RE        2026-09-2… tBq5sA3…
#> 16   2027    1750 Virtus Costa Bolo…  2026       6 BOV       2026-09-1… tcKLhHt…
# }