Skip to contents

Player bio with current-season totals, highs and averages (one row).

Endpoint: GET https://www.legabasket.it/api/players/get-player-by-id (stats=1&id=<player_id>)

Usage

lba_player(player_id)

Arguments

player_id

(required) Player id (player_id in lba_players or a box score), e.g. 969. Global: one id for a whole career.

Value

A hoopR_data tibble: Player bio with current-season totals, highs and averages (one row). The columns are always these, in this order (sportsdataverse-py lba_player); a column the site adds later is appended after them:

col_nametypedescription
player_idintegerPlayer id (global).
codecharacterPlayer code SURNAME3-NAME3-YY.
namecharacterPlayer's given name.
surnamecharacterPlayer's family name.
place_of_birthcharacterBirthplace (Italian spelling).
birth_datecharacterBirth date, Date YYYY-MM-DD.
updated_atcharacterTimestamp, ISO-8601 with the Italian offset.
ext_codecharacterExternal (data feed) player code; equals code in the samples.
seo_meta_titlecharacterSEO title (null in the samples).
seo_meta_descriptioncharacterSEO description (null in the samples).
photo_picture_keycharacterImage key: the image is {cdn_url}/{key}, resized copies {cdn_url}/variants/{key}/thumb or /large (the site's getApiImageUrl).
fullbody_picture_keycharacterImage key: the image is {cdn_url}/{key}, resized copies {cdn_url}/variants/{key}/thumb or /large (the site's getApiImageUrl). Null in every sample.
start_datecharacterContract start with the team, Date YYYY-MM-DD.
end_datecharacterContract end with the team, Date YYYY-MM-DD.
player_numbercharacterJersey number, number sent as a string.
uefa_ratiocharacterEligibility class for the foreign-player quota: I, E or C (7 / 6 / 1 on the Treviso roster; reading as Italian / EU / non-EU is inferred).
heightintegerPlayer's height in centimetres.
weightintegerPlayer's weight in kilograms.
team_idintegerTeam id (team-season) of his current team.
player_role_descriptioncharacterPosition, Italian (see players[].player_role of the roster route).
player_alpha3characterNationality, ISO alpha-3.
player_country_namecharacterNationality, Italian country name (Italia = Italy); map to English through player_alpha3 (ISO 3166 alpha-3), not by translating the name.
player_countrycharacterContinent, Italian name (Europa = Europe; the other values are presumably Africa, America, Asia, Oceania, unobserved).
team_codecharacter<season>\|<team code> of his current team (2026\|TVU).
team_namecharacterTeam name in that season, with its sponsor (Nutribullet Treviso Basket); changes with the sponsor.
yearintegerSeason START year (2026 = 2026-27); sdv END year = year + 1. The season of the team the row places the player on.
team_logo_keycharacterImage key: the image is {cdn_url}/{key}, resized copies {cdn_url}/variants/{key}/thumb or /large (the site's getApiImageUrl).
stats_played_matchesintegerGames played this regular season.
stats_totals_highs_rs_player_idintegerPlayer id (global, one per career).
stats_totals_highs_rs_championship_serie_codecharacterSeries code, A1 = Serie A.
stats_totals_highs_rs_quintet_sumintegerCurrent regular-season total of starts (in the starting five).
stats_totals_highs_rs_points_sumintegerCurrent regular-season total of points.
stats_totals_highs_rs_played_minutes_sumintegerCurrent regular-season total of minutes played.
stats_totals_highs_rs_played_matches_sumintegerCurrent regular-season total of games played.
stats_totals_highs_rs_total_matches_sumintegerCurrent regular-season total of team games while the player was listed (a player with 3 of 21 shows 21; inferred).
stats_totals_highs_rs_done_fouls_sumintegerCurrent regular-season total of fouls committed.
stats_totals_highs_rs_suffered_fouls_sumintegerCurrent regular-season total of fouls drawn.
stats_totals_highs_rs_shots_2p_realized_sumintegerCurrent regular-season total of 2-point field goals made.
stats_totals_highs_rs_shots_2p_total_sumintegerCurrent regular-season total of 2-point field goals attempted.
stats_totals_highs_rs_slam_dunk_sumintegerCurrent regular-season total of dunks.
stats_totals_highs_rs_shots_3p_realized_sumintegerCurrent regular-season total of 3-point field goals made.
stats_totals_highs_rs_shots_3p_total_sumintegerCurrent regular-season total of 3-point field goals attempted.
stats_totals_highs_rs_free_throws_realized_sumintegerCurrent regular-season total of free throws made.
stats_totals_highs_rs_free_throws_total_sumintegerCurrent regular-season total of free throws attempted.
stats_totals_highs_rs_offensive_rebound_sumintegerCurrent regular-season total of offensive rebounds.
stats_totals_highs_rs_defensive_rebound_sumintegerCurrent regular-season total of defensive rebounds.
stats_totals_highs_rs_ball_stop_given_sumintegerCurrent regular-season total of blocks.
stats_totals_highs_rs_ball_stop_received_sumintegerCurrent regular-season total of own shots blocked.
stats_totals_highs_rs_lost_balls_sumintegerCurrent regular-season total of turnovers.
stats_totals_highs_rs_regain_balls_sumintegerCurrent regular-season total of steals.
stats_totals_highs_rs_assists_sumintegerCurrent regular-season total of assists.
stats_totals_highs_rs_rating_lega_sumintegerCurrent regular-season total of LBA efficiency rating (valutazione).
stats_totals_highs_rs_rating_oer_sumdoubleOER over the regular season (1.04 for 3 games: an average despite _sum; inferred).
stats_totals_highs_rs_avg_points_sumintegerCurrent regular-season total of plus-minus, despite the name (see the game-log row, where it equals the box score plus_minus).
stats_totals_highs_rs_quintet_maxintegerCurrent regular-season single-game high of starts (in the starting five).
stats_totals_highs_rs_points_maxintegerCurrent regular-season single-game high of points.
stats_totals_highs_rs_played_minutes_maxintegerCurrent regular-season single-game high of minutes played.
stats_totals_highs_rs_done_fouls_maxintegerCurrent regular-season single-game high of fouls committed.
stats_totals_highs_rs_suffered_fouls_maxintegerCurrent regular-season single-game high of fouls drawn.
stats_totals_highs_rs_shots_2p_realized_maxintegerCurrent regular-season single-game high of 2-point field goals made.
stats_totals_highs_rs_shots_2p_total_maxintegerCurrent regular-season single-game high of 2-point field goals attempted.
stats_totals_highs_rs_shots_2p_perc_maxintegerCurrent regular-season single-game high of 2-point field-goal percentage, 0-100.
stats_totals_highs_rs_slam_dunk_maxintegerCurrent regular-season single-game high of dunks.
stats_totals_highs_rs_shots_3p_realized_maxintegerCurrent regular-season single-game high of 3-point field goals made.
stats_totals_highs_rs_shots_3p_total_maxintegerCurrent regular-season single-game high of 3-point field goals attempted.
stats_totals_highs_rs_shots_3p_perc_maxintegerCurrent regular-season single-game high of 3-point field-goal percentage, 0-100.
stats_totals_highs_rs_free_throws_realized_maxintegerCurrent regular-season single-game high of free throws made.
stats_totals_highs_rs_free_throws_total_maxintegerCurrent regular-season single-game high of free throws attempted.
stats_totals_highs_rs_free_throws_perc_maxintegerCurrent regular-season single-game high of free-throw percentage, 0-100.
stats_totals_highs_rs_offensive_rebound_maxintegerCurrent regular-season single-game high of offensive rebounds.
stats_totals_highs_rs_defensive_rebound_maxintegerCurrent regular-season single-game high of defensive rebounds.
stats_totals_highs_rs_total_rebounds_maxintegerCurrent regular-season single-game high of total rebounds.
stats_totals_highs_rs_ball_stop_given_maxintegerCurrent regular-season single-game high of blocks.
stats_totals_highs_rs_ball_stop_received_maxintegerCurrent regular-season single-game high of own shots blocked.
stats_totals_highs_rs_lost_balls_maxintegerCurrent regular-season single-game high of turnovers.
stats_totals_highs_rs_regain_balls_maxintegerCurrent regular-season single-game high of steals.
stats_totals_highs_rs_assists_maxintegerCurrent regular-season single-game high of assists.
stats_totals_highs_rs_rating_lega_maxintegerCurrent regular-season single-game high of LBA efficiency rating (valutazione).
stats_totals_highs_rs_rating_oer_maxdoubleCurrent regular-season single-game high of OER (points / (FGA + turnovers + FTA / 2)).
stats_totals_highs_rs_avg_points_maxintegerCurrent regular-season single-game high of plus-minus, despite the name (see the game-log row, where it equals the box score plus_minus).
stats_totals_highs_rs_adp_maxintegerCurrent regular-season single-game high of plus-minus (as match_adp).
stats_totals_highs_rs_idintegerAlways null (not a key).
stats_avg_rs_player_idintegerPlayer id (global, one per career).
stats_avg_rs_championship_serie_codecharacterSeries code, A1 = Serie A.
stats_avg_rs_quintet_avgdoubleCurrent regular-season per-game average of starts (in the starting five), number sent as a string.
stats_avg_rs_points_avgdoubleCurrent regular-season per-game average of points, number sent as a string.
stats_avg_rs_played_minutes_avgdoubleCurrent regular-season per-game average of minutes played, number sent as a string.
stats_avg_rs_played_matches_avgdoubleAlways 1.0 (games divided by games), number sent as a string.
stats_avg_rs_total_matches_avgdoubleAlways 1.0, number sent as a string.
stats_avg_rs_done_fouls_avgdoubleCurrent regular-season per-game average of fouls committed, number sent as a string.
stats_avg_rs_suffered_fouls_avgdoubleCurrent regular-season per-game average of fouls drawn, number sent as a string.
stats_avg_rs_shots_2p_realized_avgdoubleCurrent regular-season per-game average of 2-point field goals made, number sent as a string.
stats_avg_rs_shots_2p_total_avgdoubleCurrent regular-season per-game average of 2-point field goals attempted, number sent as a string.
stats_avg_rs_slam_dunk_avgdoubleCurrent regular-season per-game average of dunks, number sent as a string.
stats_avg_rs_shots_3p_realized_avgdoubleCurrent regular-season per-game average of 3-point field goals made, number sent as a string.
stats_avg_rs_shots_3p_total_avgdoubleCurrent regular-season per-game average of 3-point field goals attempted, number sent as a string.
stats_avg_rs_free_throws_realized_avgdoubleCurrent regular-season per-game average of free throws made, number sent as a string.
stats_avg_rs_free_throws_total_avgdoubleCurrent regular-season per-game average of free throws attempted, number sent as a string.
stats_avg_rs_offensive_rebound_avgdoubleCurrent regular-season per-game average of offensive rebounds, number sent as a string.
stats_avg_rs_defensive_rebound_avgdoubleCurrent regular-season per-game average of defensive rebounds, number sent as a string.
stats_avg_rs_ball_stop_given_avgdoubleCurrent regular-season per-game average of blocks, number sent as a string.
stats_avg_rs_ball_stop_received_avgdoubleCurrent regular-season per-game average of own shots blocked, number sent as a string.
stats_avg_rs_lost_balls_avgdoubleCurrent regular-season per-game average of turnovers, number sent as a string.
stats_avg_rs_regain_balls_avgdoubleCurrent regular-season per-game average of steals, number sent as a string.
stats_avg_rs_assists_avgdoubleCurrent regular-season per-game average of assists, number sent as a string.
stats_avg_rs_rating_lega_avgdoubleCurrent regular-season per-game average of LBA efficiency rating (valutazione), number sent as a string.
stats_avg_rs_rating_oer_avgdoublePer-game average OER (a number, unlike the other _avg values).
stats_avg_rs_avg_points_avgdoubleCurrent regular-season per-game average of plus-minus, despite the name (see the game-log row, where it equals the box score plus_minus), number sent as a string.
stats_avg_rs_idintegerAlways null (not a key).

Details

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

 lba_player(player_id = 969)