Clubs (sites) taking part in an ssgt.
Endpoint: GET https://www.basketligaen.dk/api/sports-v2/all-sites/{ssgt_uuid}
Value
A hoopR_data tibble: Clubs (sites) taking part in an ssgt. An empty valid answer raises hoopR_no_data;
the documented columns come first, in this order (sportsdataverse-py sportality_sites), then any column the API added
later:
| col_name | type | description |
| id | character | Site instance id of the club (platform key space; the same as instanceId). |
| instance_id | character | Site instance id of the club or league (platform key space, <code><n>_<code> such as hol2_hol; the league itself is dbl1_dbl). |
| public_url | character | The club's own website. |
| name | character | Display name of the club. |
| icon | character | Team logo URL (SVG on sportality.cdn.s8y.se). |
Details
Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in sportality_schedule().
See also
Other Basketligaen Functions:
sportality_athlete_career(),
sportality_athlete_details(),
sportality_athlete_profile(),
sportality_boxscore(),
sportality_game_header(),
sportality_game_overview(),
sportality_game_summary(),
sportality_last_game_day(),
sportality_layout_info(),
sportality_next_game_day(),
sportality_pbp(),
sportality_player_box(),
sportality_player_crosswalk(),
sportality_player_h2h(),
sportality_post_game_team_stats(),
sportality_roster(),
sportality_schedule(),
sportality_season_filter(),
sportality_ssgt_provider(),
sportality_ssgt_uuid(),
sportality_standings(),
sportality_stats_info(),
sportality_team(),
sportality_team_played_games(),
sportality_team_stats(),
sportality_team_upcoming_games()
Examples
# \donttest{
try(sportality_sites(ssgt_uuid = "xs07bd3fmp"))
#> Error in sportality_sites(ssgt_uuid = "xs07bd3fmp") :
#> www.basketligaen.dk/api/statistics-v2/layout-info: 0 ssgts in the body,
#> expected the 40+ of 25 seasons.
# }
