A player's per-game averages, one row per competition-season.
Endpoint: GET https://embed-api.eui.connect.sportradar.com/v1/embed/{website_id}/person_detail
season_year is the site's own year and season_end_year the sdv END year. The
statistics are the per-game averages the site configures (double rates, ISO
minutes_per_game).
Usage
atrium_player_seasons(
website_id,
person_id,
season = NULL,
season_id = NULL,
competition_id = NULL,
locale = NULL
)Arguments
- website_id
(integer required): Site config id: which league site's widget this is (12 LNB France, 14 LNBP Mexico, 3 NBL1 Australia, 13 El Salvador, 22 Panama, 236 Austria, 326 Montenegro). Not a league id: one site serves several competitions.
- person_id
(character required): Player UUID (
person_idinatrium_players()or a box score), e.g."4458f165-f865-11f0-8ebf-539c931c1654".- season
(integer optional): Season END year (2026 = 2025-26 on LNB, site 12, whose own year is the START year; the calendar year on the other sites). Needs
competition_idwhen several competitions share that year (seeatrium_seasons()). Omitseasonandseason_idfor the site's default season.- season_id
(character optional): Season UUID (
season_idinatrium_seasons()); sent as is, skipping the END-year lookup ofseason.- competition_id
(character optional): Competition UUID (
competition_idinatrium_seasons()). Picks the season together withseason, and is then not sent; with neitherseasonnorseason_idthe API filters by it.- locale
(character optional): Locale of the labels, e.g.
"en-EN"or"fr-FR". Omitted = the site's own language. Ids and codes never change.
Value
A wehoop_data tibble, one row per (person_id, season_name, team_id):
| col_name | type | description |
| website_id | integer | Site config id the body came from (12 LNB, 14 LNBP, 3 NBL1, 13 El Salvador, 22 Panama, 236 Austria, 326 Montenegro), read from the body's links.self. |
| person_id | character | Player UUID (person), shared across seasons and sites. |
| season_name | character | Competition-season the line is for, in the site's language (Betclic ELITE - Playoffs 2025). |
| season_year | integer | The site's own year of that season (START year on LNB). |
| season_end_year | integer | Season END year of that season (sdv key); null when the site is unmapped. |
| team_id | character | Team UUID the player played for in that season. |
| team_name | character | Name of the team the player played for in that season. |
| minutes_per_game | character | Minutes per game as an ISO 8601 duration (player, that competition-season). |
| points_per_game | double | Points per game (player, that competition-season). |
| rebounds_per_game | double | Rebounds per game (player, that competition-season). |
| rebounds_offensive_per_game | double | Offensive rebounds per game (player, that competition-season). |
| rebounds_defensive_per_game | double | Defensive rebounds per game (player, that competition-season). |
| assists_per_game | double | Assists per game (player, that competition-season). |
| steals_per_game | double | Steals per game (player, that competition-season). |
| blocks_per_game | double | Blocks per game (player, that competition-season). |
| turnovers_per_game | double | Turnovers per game (player, that competition-season). |
| fouls_personal_per_game | double | Personal fouls per game (player, that competition-season). |
| dunks_per_game | double | Dunks per game (player, that competition-season). |
| efficiency | integer | Efficiency rating, from the site's own formula (player, that competition-season). |
Details
Unofficial. This is the public endpoint the Sportradar Atrium / Synergy "Connect" widget calls from every visitor's browser (keyless; the host has no robots.txt). The data is Sportradar's and the leagues'. The wrappers read it on the caller's behalf, one request at least 1 s after the last to the host, and it is not republished as release assets. Keep crawls small and incremental.
Sites and seasons. website_id picks the league site; one site carries many
competitions. Seasons are END years (season = 2026): the site's own year is the
START year on LNB and the calendar year elsewhere, and a year can hold several
competitions, so pair season with competition_id (see atrium_seasons()) or
pass season_id. atrium_end_year() maps a site's own year to that END year, and
atrium_season_id() finds the season UUID.
Columns are configured per site: a statistic one site omits is NA. A key the
documented columns do not list is appended with an inferred type. Player and team
ids (UUIDs, character) are shared across sites; the player stat tables carry names
only, so person_id there is decoded from the widget link beside each name.
Errors (classed conditions, all inheriting wehoop_error): wehoop_no_data when
the site has nothing for the request (HTTP 404, no such season, an empty fixture
list, a game with no play-by-play yet, or a fixture id the site does not serve: an
unknown id or a game of another site, which the API answers alike with an empty
fixture); wehoop_bad_request for HTTP 400 / 422 or an argument that cannot be
mapped (an ambiguous END year, season with season_id); wehoop_asset_fetch for
any other failed fetch, an error / stub body, or a body that belongs to another
site, type, season, game, player or team than the one asked for.
atrium_player_seasons(website_id = 12, person_id = "4458f165-f865-11f0-8ebf-539c931c1654")See also
Other Atrium Functions:
atrium_box_score(),
atrium_competition_player_stats(),
atrium_competition_team_stats(),
atrium_end_year(),
atrium_fixture(),
atrium_fixture_periods(),
atrium_fixtures(),
atrium_fixtures_ribbon(),
atrium_leaders(),
atrium_pbp(),
atrium_player(),
atrium_player_game_log(),
atrium_player_stats(),
atrium_players(),
atrium_season_id(),
atrium_seasons(),
atrium_shots(),
atrium_standings(),
atrium_standings_summary(),
atrium_team(),
atrium_team_box_score(),
atrium_team_stats(),
atrium_teams(),
lmb_competition,
lnbp_competition,
lpb_competition,
nbl1_competition
