A team page (summary tab): the team and its last and next game.
Endpoint: GET https://embed-api.eui.connect.sportradar.com/v1/embed/{website_id}/entity_detail
previous_* is the last played game and next_* the next scheduled one (NA when
the page shows none). entity_id is decoded from the page's tab links; color is
a hex string with its #.
Usage
atrium_team(
website_id,
entity_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.
- entity_id
(character required): Team UUID (
entity_idinatrium_teams()or any fixture row), e.g."f43b1b0f-55bc-11f0-84d9-01499d2f0a07".- 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 hoopR_data tibble, one row for the team:
| 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. |
| entity_id | character | Team UUID, decoded from the page's tab links (the body does not echo it elsewhere). |
| name | character | Team name from the page banner. |
| color | character | Team colour from the banner, hex string with its #. |
| logo_url | character | URL of the banner's team logo. |
| previous_fixture_id | character | Game UUID of the last played game shown on the team page. |
| previous_round | character | Round of the last played game as the site words it (e.g. 30). |
| previous_status | character | Status code of the last played game, e.g. CONFIRMED. |
| previous_start_time_utc | POSIXct | Start of the last played game, naive UTC datetime. |
| previous_start_time_local | character | Start of the last played game in venue-local time, as the API sends it (no offset). |
| previous_venue | character | Arena of the last played game. |
| previous_attendance | integer | Spectators at the last played game; null when not reported. |
| previous_home_entity_id | character | Team UUID of the last played game's home team. |
| previous_home_name | character | Name of the last played game's home team. |
| previous_home_score | integer | Home team's points in the last played game. |
| previous_away_entity_id | character | Team UUID of the last played game's away team. |
| previous_away_name | character | Name of the last played game's away team. |
| previous_away_score | integer | Away team's points in the last played game. |
| next_fixture_id | character | Game UUID of the next scheduled game shown on the team page. |
| next_round | character | Round of the next scheduled game as the site words it (e.g. 30). |
| next_status | character | Status code of the next scheduled game, e.g. CONFIRMED. |
| next_start_time_utc | POSIXct | Start of the next scheduled game, naive UTC datetime. |
| next_start_time_local | character | Start of the next scheduled game in venue-local time, as the API sends it (no offset). |
| next_venue | character | Arena of the next scheduled game. |
| next_attendance | integer | Spectators at the next scheduled game; null when not reported. |
| next_home_entity_id | character | Team UUID of the next scheduled game's home team. |
| next_home_name | character | Name of the next scheduled game's home team. |
| next_home_score | integer | Home team's points in the next scheduled game. |
| next_away_entity_id | character | Team UUID of the next scheduled game's away team. |
| next_away_name | character | Name of the next scheduled game's away team. |
| next_away_score | integer | Away team's points in the next scheduled game. |
Details
Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in atrium_fixtures().
atrium_team(website_id = 12, entity_id = "f43b1b0f-55bc-11f0-84d9-01499d2f0a07")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_seasons(),
atrium_player_stats(),
atrium_players(),
atrium_season_id(),
atrium_seasons(),
atrium_shots(),
atrium_standings(),
atrium_standings_summary(),
atrium_team_box_score(),
atrium_team_stats(),
atrium_teams(),
lmb_competition,
lnb_competition,
lnbp_competition,
lpb_competition,
nbl1_competition
