Skip to contents

Season player leaderboard for one category (per-game average).

Endpoint: GET https://www.legabasket.it/api/statistics/get-players-statistics (cs_id=1&s=<season>&cat=<category>)

Usage

lba_players_leaderboard(season = NULL, category = "points")

Arguments

season

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

category

Category: points, rating_lega, total_rebound, assists, shots_3p_perc, ... (the site's filters.categories).

Value

A hoopR_data tibble: Season player leaderboard for one category (per-game average). The columns are always these, in this order (sportsdataverse-py lba_players_leaderboard); a column the site adds later is appended after them:

col_nametypedescription
seasonintegerSeason END year (2027 = 2026-27): the row's START year + 1.
categorycharacterCategory of this row (the cat param, e.g. points).
player_idintegerPlayer id (global, one per career).
namecharacterGiven name (players) / team name (teams).
surnamecharacterPlayer's family name.
team_namecharacterTeam name in that season, with its sponsor (Nutribullet Treviso Basket); changes with the sponsor.
tv_namecharacterShort team name for TV graphics.
yearintegerSeason START year (2026 = 2026-27); sdv END year = year + 1.
category_filter_totalintegerSeason total in the category.
attemptsintegerShots attempted in the zone, parsed from num.
presencesintegerGames the player appeared in, counted for the leaderboard.
minutesdoubleMinutes per game (players: decimal string 28.67) / total minutes (teams: integer).
score_40_mindoubleValue per 40 minutes.
scoredoubleValue in the category under the ob order (default avg = per game); players send a decimal string, teams a number.
team_idintegerTeam id (team-season).
player_photo_keycharacterImage key: the image is {cdn_url}/{key}, resized copies {cdn_url}/variants/{key}/thumb or /large (the site's getApiImageUrl).

Details

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

 lba_players_leaderboard(season = 2027, category = "points")