Skip to contents

The seasonId of a site's season, from its END year and optionally its competition.

Maps through the site's own season list (/{website_id}/fixtures), fetched once and cached for an hour per site.

Usage

atrium_season_id(website_id, season, competition_id = NULL)

Arguments

website_id

(integer required): The site (12 LNB, 14 LNBP, 3 NBL1, 13 El Salvador, 22 Panama, 326 Montenegro). Site 236 lists no seasons.

season

(integer required): The sdv season END year (2026 = 2025-26 on LNB; the calendar year on the other sites). A whole number; a string, a logical or a fraction is refused.

competition_id

(character optional): The competition when the site lists several for that year (see atrium_seasons()). Omit it when the year is unique.

Value

The season's UUID (a character string), for the season_id argument of every season-scoped wrapper.

Details

Raises wehoop_bad_request when season is not a whole number, the site is not a known Atrium site, it lists no seasons (236), or the year is shared by several competitions and competition_id is missing; wehoop_no_data when the site lists no such season; wehoop_asset_fetch when the season list could not be fetched or is not the site's.

 atrium_season_id(14, 2026, competition_id = "16be8396-24fb-11ef-9ab7-df6be196e88f")