Skip to contents

Player profile: age, height, position, season and career totals.

Endpoint: GET https://www.basketligaen.dk/api/statistics-v2/athlete/profile-page

Usage

sportality_athlete_profile(athlete_uuid, master_site_instance_id = NULL)

Arguments

athlete_uuid

(required) Athlete uuid.

master_site_instance_id

(default NULL) Site instance (dbl1_dbl). No effect in the drop-one probe.

Value

A hoopR_data tibble: Player profile: age, height, position, season and career totals. An empty valid answer raises hoopR_no_data; the documented columns come first, in this order (sportsdataverse-py sportality_athlete_profile), then any column the API added later:

col_nametypedescription
uuidcharacterPlatform uuid of this record (10-character lowercase key space of its record type; joins the route that serves it).
full_namecharacterFull display name of the player.
first_namecharacterGiven (first) name(s) of the player.
last_namecharacterFamily name (surname) of the player.
nationalitycharacterISO 3166-1 alpha-2 country code.
gendercharacterGender of the team or player: male or female (every record on this host is male).
age_valueintegerAge in whole years.
age_formatcharacterUnit of the value (years). Values: years = years.
weight_valueintegerWeight of the player in kilograms.
weight_formatcharacterUnit of the value (kg). Values: kg = kilograms.
height_valueintegerHeight of the player in centimetres.
height_formatcharacterUnit of the value (cm). Values: cm = centimetres.
jersey_numberintegerJersey (shirt) number of the player.
positioncharacterPlaying position.
position_codecharacterPosition code (G, F, C, or a finer code such as SG on the profile route). Values: G = guard.
shootscharacterShooting hand (empty or null for every player seen).
team_uuidcharacterPlatform team uuid.
team_instance_idcharacterSite instance id of the club (platform key space).
team_namecharacterName of the team.
team_codecharacterPlatform team code (HOL, RAN).
team_mediacharacterURL of the team logo image.
season_statscharacterThe player's current-season totals as field/value pairs (GP, PAvg, ...).
career_statscharacterThe player's career totals as field/value pairs.
statistics_providercharacterStats provider of the data (genius-basketball = Genius Sports LiveStats).
is_in_squadlogicalWhether the player is in the team's current squad.
media_urlcharacterPortrait image URL (imgix CDN).
media_altcharacterImage alt text (”).
media_srcsetcharacterResponsive image set (imgix CDN URLs with widths).
media_url_img_original_proportioncharacterPortrait URL at its original proportions.
media_url_placeholder_imagecharacterPlaceholder image URL (”).
media_videourlcharacterVideo URL (”).
media_photographercharacterPhotographer credit (”).
media_focal_pointcharacterFocal point record (empty).

Details

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

 sportality_athlete_profile(athlete_uuid = "dpu0901c0t", master_site_instance_id = "dbl1_dbl")