Skip to contents

Post-game team comparison (2023/24 on).

Endpoint: GET https://www.basketligaen.dk/api/gameday/post-game-data/team-stats/{game_uuid}

Usage

sportality_post_game_team_stats(
  game_uuid,
  ssgt_uuid,
  home_team_uuid,
  away_team_uuid
)

Arguments

game_uuid

(required) Game uuid: gameInfo[].uuid of the schedule (10 lowercase letters and digits). Key space: platform game uuids; the Genius match id is extId / gameSourceId in the body.

ssgt_uuid

(required) ssgt uuid. Without it the answer is an empty 200 body.

home_team_uuid

(required) Home team uuid; without it the home side comes back blank.

away_team_uuid

(required) Away team uuid; without it the away side comes back blank.

Value

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

 sportality_post_game_team_stats(
   away_team_uuid = "gvvuxe9ysw", game_uuid = "c4hh5nig6t", home_team_uuid = "rfo82vr830",
   ssgt_uuid = "xs07bd3fmp"
 )

See also

family_basketligaen lists every function in this family.