ATRIUM — additional Python functions
Hand-written wrappers, loaders, and helpers in sportsdataverse.basketball.atrium
not covered by the generated API-endpoint reference above.
Dates and seasons
atrium_season_id
atrium_season_id(website_id: 'int', season: 'int', competition_id: 'Optional[str]' = None, **kwargs: 'Any') -> 'str'
The seasonId of a site's season, from its END year and optionally its competition.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
website_id | int | the site (see SITES: 12 LNB, 14 LNBP, 3 NBL1, 13 El Salvador, 22 Panama, 326 Montenegro). | |
season | int | the sdv season END year (2026 = 2025-26 on LNB; the calendar year on the other sites). | |
competition_id | Optional[str] | None | the competition when the site lists several for that year (see atrium_seasons). Omit it when the year is unique. |
Returns
The season's UUID, for the season_id argument of every season-scoped wrapper.
Example
from sportsdataverse.basketball.atrium import atrium_season_id
atrium_season_id(14, 2026, competition_id="16be8396-24fb-11ef-9ab7-df6be196e88f")