Skip to contents

Games of the last played match day of an ssgt.

Endpoint: GET https://www.basketligaen.dk/api/sports-v2/last-game-day

Usage

sportality_last_game_day(season = NULL, game_type = "regular")

Arguments

season

(default NULL) Season END year (2026 = 2025/26), mapped to its ssgt through layout-info. NULL = the active ssgt (these match-day views follow the current season).

game_type

(default "regular") Game type: regular (the league season) or finals (the playoffs, Slutspil).

Value

A hoopR_data tibble with one row per game. Its columns are listed in return_columns (subset(return_columns, fn == "sportality_last_game_day")) 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 sportality_schedule().

See also

family_basketligaen lists every function in this family.

Examples

# \donttest{
  try(sportality_last_game_day())
#> Error in sportality_last_game_day() : 
#>   www.basketligaen.dk/api/statistics-v2/layout-info: 0 ssgts in the body,
#> expected the 40+ of 25 seasons.
# }