Skip to contents

Standings of an ssgt (gameday widget).

Endpoint: GET https://www.basketligaen.dk/api/gameday/team-standings/{ssgt_uuid}

Usage

sportality_standings(ssgt_uuid)

Arguments

ssgt_uuid

(required) ssgt uuid: one season + series + game type, e.g. xs07bd3fmp = 2026/2027 regular season. Directory: /statistics-v2/layout-info seasonSeriesGameTypeTeams[].ssgtUuid.

Value

A hoopR_data tibble: Standings of an ssgt (gameday widget). An empty valid answer raises hoopR_no_data; the documented columns come first, in this order (sportsdataverse-py sportality_standings), then any column the API added later:

col_nametypedescription
team_idintegerGenius team id (Int64): in gameday bodies, an integer in standings and stats tables.
team_uuidcharacterPlatform team uuid.
team_codecharacterPlatform team code (HOL, RAN).
team_namecharacterName of the team.
rankintegerRank in the standings table, 1 = first.
gpintegerNumber of games played.
wintegerNumber of wins.
lintegerNumber of losses.
tpintegerLeague table points (2 per win).
forintegerPoints scored by the team (points for).
gaintegerPoints conceded.
plus_minusintegerPoint difference.
strkintegerCurrent streak as a signed integer: positive = wins in a row, negative = losses in a row.

Details

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

Examples

# \donttest{
  try(sportality_standings(ssgt_uuid = "xs07bd3fmp"))
#> ── Basketligaen Standings from basketligaen.dk ────────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-10-31 21:34:06 UTC
#> # A tibble: 12 × 13
#>    team_id team_uuid  team_code team_name     rank    gp     w     l    tp `for`
#>      <int> <chr>      <chr>     <chr>        <int> <int> <int> <int> <int> <int>
#>  1   22255 iutrlqp3ef TFN       Team FOG Næ…     1     8     8     0    16   830
#>  2   22248 ktcu9aaala BAK       Bakken Bears     2     7     7     0    14   739
#>  3   22249 hip2m60a45 HIC       Horsens IC       3     8     6     2    12   701
#>  4   22256 kgmhwo9l5d SVE       Svendborg R…     4     8     6     2    12   729
#>  5   22250 gvvuxe9ysw RAN       Randers Cim…     5     8     5     3    10   762
#>  6  156486 ka7lusvmtn BCC       BC Copenhag…     6     7     4     3     8   573
#>  7  153747 rfo82vr830 HOL       Holbæk-Sten…     7     8     3     5     6   609
#>  8  199228 nuzzapynfd GLX       Gladsaxe Ba…     8     8     2     6     4   623
#>  9  114932 ozojzoejir VBH       Værløse Blu…     9     8     2     6     4   659
#> 10  187013 wv1lcxg0u2 BKV       BK Vejen        10     8     2     6     4   648
#> 11  140898 kgejfzwwbd BMS       BMS Herlev      11     8     1     7     2   616
#> 12  130088 swr1d65lew BAC       Bears Acade…    12     8     1     7     2   619
#> # ℹ 3 more variables: ga <int>, plus_minus <int>, strk <int>
# }