Skip to contents

A team's latest roster (same shape as the roster).

Endpoint: GET https://digital-api.fiba.basketball/hapi/getgdapcompetitionteamlatestrosterbyteamid

Usage

fiba_gdap_roster_latest(team_id, return_parsed = TRUE)

Arguments

team_id

(integer, required) Required. Competition team id: one per team per competition (teamA.teamId of a game row; Germany is 279569 at the 2023 World Cup and 281545 at Paris 2024). Not the federation organisationId

return_parsed

Parse the payload into a tibble (default TRUE); FALSE returns the raw JSON list.

Value

A hoopR_data tibble (the raw JSON list when return_parsed = FALSE) with the following columns:

col_nametypedescription
team_idintegerCompetition team id: one per team per competition (Germany = 279569 at the 2023 World Cup, 281545 at Paris 2024). Joins getgdapcompetitionteamrosterbyteamid / getgdapcompetitionteamstatisticsbyteamid gdapTeamId; not an organisationId.
team_codecharacterTeam code (FIBA country code or club abbreviation).
team_namecharacterTeam name (the country for a national team, the club for a club team).
organisation_idintegerStable federation or club id (Int64), the same in every competition and season (64 = Germany).
competition_idintegerFIBA competition id (GDAP key space): one per edition (2023 World Cup = 208182, BCL 2024-25 = 208850); gdapCompetitionId.
person_idintegerFIBA person id, global across competitions and roles (player, coach, official): roster personId = play-by-play pId = game-page P_<id> = gdapPlayerId.
first_namecharacterGiven name(s) as registered with FIBA.
last_namecharacterLast name (officials: upper case).
gendercharacterSex of the person: M or F (Male/Female on getgdapcompetitionnominationsbyid).
date_of_birthcharacterDate of birth, YYYY-MM-DD.
uniform_numbercharacterJersey number (a string).
uniform_namecharacterName printed on the jersey.
positioncharacterPlaying position (roster: Point Guard...; game page: PG, SG, SF, PF, C).
height_in_cmintegerPlayer height in centimetres.
height_in_feet_inchescharacterHeight, feet and inches string (6'7").
nationalitycharacterFIBA code of the main nationality.
is_on_final_rosterlogicalTrue when on the final (12-player) roster.
games_playedintegerGames played in the competition.
club_idintegerOrganisation id of the player's club (organisationId key space).
club_namecharacterClub at the time of the competition.
country_fiba_codecharacterFIBA code of the country the person represents.
club_country_fiba_codecharacterFIBA code of the club's country.
is_captainlogicalTrue for the team captain.
is_player_free_agentlogicalTrue when the player had no club.
final_roster_member_status_codecharacterRoster entry status: VALID, PARTIAL (incomplete registration).

Details

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

 fiba_gdap_roster_latest(team_id = 282183)