Skip to contents

Directory of every ssgt (season + series + game type) with its teams, and the stats modules.

Endpoint: GET https://www.basketligaen.dk/api/statistics-v2/layout-info

Usage

sportality_layout_info()

Value

A hoopR_data tibble: Directory of every ssgt (season + series + game type) with its teams, and the stats modules. An empty valid answer raises hoopR_no_data; the documented columns come first, in this order (sportsdataverse-py sportality_layout_info), then any column the API added later:

col_nametypedescription
seasonintegerSeason END year (2026 = 2025/26).
season_codecharacterProvider season code: the START year (2025 = 2025/26).
season_namecharacterSeason name as 'YYYY/YYYY' (start/end year).
game_typecharacterGame type of the game (” on every line seen).
game_type_namecharacterGame type name in Danish (Grundspil = regular season, Slutspil = playoffs).
series_codecharacterSeries code (DBL = Basketligaen).
ssgt_uuidcharacterssgt uuid (platform key space: one season + series + game type); joins /statistics-v2/layout-info seasonSeriesGameTypeTeams[].ssgtUuid and every route keyed by ssgt.
statecharacterGame state. Schedule and day views: pre-game or post-game (hyphen). sports-v2 game-info: post_game (underscore). Gameday overview: GameEnded. Values: active = current ssgt; closed = past ssgt.
season_uuidcharacterSeason uuid (platform key space).
series_uuidcharacterSeries uuid (platform key space).
game_type_uuidcharacterGame type uuid (platform key space).

Details

Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in sportality_schedule().