Skip to contents

Player bio plus playerExtIds (the Genius person id).

Endpoint: GET https://www.basketligaen.dk/api/sports-v2/athlete-details/{athlete_uuid}

Usage

sportality_athlete_details(athlete_uuid)

Arguments

athlete_uuid

(required) Athlete uuid: roster players[].uuid or stats-info stats[].info.uuid. Key space: platform athlete uuids (not the Genius person id).

Value

A hoopR_data tibble: Player bio plus playerExtIds (the Genius person id). An empty valid answer raises hoopR_no_data; the documented columns come first, in this order (sportsdataverse-py sportality_athlete_details), then any column the API added later:

col_nametypedescription
athlete_uuidcharacterPlatform athlete uuid (rosters and athlete routes key on it); not the Genius person id; null where the site has none.
player_idintegerGenius person id (Int64). A string key in the players maps, an integer in play-by-play and box-score rows; cast here so the frames join, and join the genius family.
created_atcharacterCreation timestamp.
created_bycharacterCreating site instance.
creator_sitecharacterUnobserved: null in every sample and every full body. When filled: Creating site (null).
heightintegerHeight of the player in centimetres.
deletedlogicalSoft-delete flag.
first_namecharacterGiven (first) name(s) of the player.
gendercharacterGender of the person as recorded by the site (male in every row seen).
last_modifiedcharacterLast-modified timestamp.
last_namecharacterFamily name (surname) of the player.
metadatacharacterFree metadata (always empty).
nationalitycharacterISO 3166-1 alpha-2 country code.
shootscharacterShooting hand (”).
weightintegerWeight of the player in kilograms.

Details

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

 sportality_athlete_details(athlete_uuid = "dpu0901c0t")