Skip to contents

Season totals of each player of a team-season.

Endpoint: GET https://www.legabasket.it/api/teams/get-team-players-stats (cs_id=1&id=<team_id>&s=<season>)

Usage

lba_team_players_stats(team_id, season = NULL)

Arguments

team_id

(required) Team id (team_id in lba_teams), e.g. 1764. One team-season: ids are re-issued every season.

season

Season END year (2027 = 2026-27) of the team id. Omitted = the site's default (unverified).

Value

A hoopR_data tibble: Season totals of each player of a team-season. The columns are always these, in this order (sportsdataverse-py lba_team_players_stats); a column the site adds later is appended after them:

col_nametypedescription
team_idintegerTeam-season id (re-issued every season); join lba_teams for the stable club_id.
club_idintegerClub id: the cross-season join key for team ids (only here and in the team headers); stability across seasons is unverified.
club_codecharacterClub code (TVB, TS); whether it is stable across seasons is unverified.
seasonintegerSeason END year (2027 = 2026-27): the row's START year + 1.
player_idintegerPlayer id (global, one per career).
player_namecharacterPlayer's given name.
player_surnamecharacterPlayer's family name.
player_seasonintegerSeason START year (2026 = 2026-27); sdv END year = year + 1.
player_photo_keycharacterImage key: the image is {cdn_url}/{key}, resized copies {cdn_url}/variants/{key}/thumb or /large (the site's getApiImageUrl).
played_matchesintegerGames the player appeared in, in the request's championship series.
total_matchesintegerTeam games while the player was listed (inferred).
start_formationintegerGames the player started, in the request's championship series.
points_sumintegerSeason total of points.
played_minutes_sumintegerSeason total of minutes played.
rating_lega_sumintegerSeason total of LBA efficiency rating (valutazione).
rating_oer_sumdoubleSum of the per-game OER values (3.34 over 3 games), not a season OER.
offensive_rebound_sumintegerSeason total of offensive rebounds.
defensive_rebound_sumintegerSeason total of defensive rebounds.
total_rebound_sumintegerSeason total of total rebounds.
assists_sumintegerSeason total of assists.
regain_balls_sumintegerSeason total of steals.
lost_balls_sumintegerSeason total of turnovers.
ball_stop_given_sumintegerSeason total of blocks.
ball_stop_received_sumintegerSeason total of own shots blocked.
done_fouls_sumintegerSeason total of fouls committed.
suffered_fouls_sumintegerSeason total of fouls drawn.
plus_minus_sumintegerSeason total of plus-minus.
aplus_dp_sumintegerSeason total of aplus_dp, an unverified metric (not plus-minus or assists: Macura 2026-27 has 9 against plus-minus 8 and 3 assists).
slam_dunk_sumintegerSeason total of dunks.
shots_2p_realized_sumintegerSeason total of 2-point field goals made.
shots_2p_total_sumintegerSeason total of 2-point field goals attempted.
shots_2p_perc_sumdoubleSeason 2-point percentage, 0-100 (a rate despite _sum).
shots_3p_realized_sumintegerSeason total of 3-point field goals made.
shots_3p_total_sumintegerSeason total of 3-point field goals attempted.
shots_3p_perc_sumdoubleSeason 3-point percentage, 0-100 (a rate despite _sum).
free_throws_realized_sumintegerSeason total of free throws made.
free_throws_total_sumintegerSeason total of free throws attempted.
free_throws_perc_sumdoubleSeason free-throw percentage, 0-100 (a rate despite _sum).

Details

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

 lba_team_players_stats(team_id = 1764, season = 2027)