Skip to contents

Per-competition aliases of the FIBA wrappers for FIBA AmeriCup (GDAP competition family 184), named as in sportsdataverse-py. Season rule: event year (2025 = 2025).

Usage

fiba_americup_editions(season = NULL, to_season = NULL, return_parsed = TRUE)

fiba_americup_schedule(season = NULL, comp = NULL, return_parsed = TRUE)

fiba_americup_standings(season = NULL, comp = NULL, return_parsed = TRUE)

fiba_americup_teams(season = NULL, comp = NULL, return_parsed = TRUE)

fiba_americup_player_box(game_id, season = NULL, comp = NULL, return_parsed = TRUE)

fiba_americup_team_box(game_id, season = NULL, comp = NULL, return_parsed = TRUE)

fiba_americup_pbp(game_id, season = NULL, comp = NULL, return_parsed = TRUE)

fiba_americup_shots(game_id, season = NULL, comp = NULL, return_parsed = TRUE)

Arguments

game_id

FIBA game id (game_id in the schedule).

season

Edition season key (event year (2025 = 2025)). Omitted = the newest edition that has started; a game function needs season or comp. For fiba_americup_editions(): the first season (inclusive), omitted = every edition.

to_season

Last season, inclusive (fiba_americup_editions() only).

comp

FIBA competition id (one per edition); skips the edition lookup and is needed when a season lists several editions. Checked to be an edition of this competition (one cached getGdapCompetitionById request).

return_parsed

Parse the payload into a tibble (default TRUE); FALSE returns the raw JSON list.

Value

A hoopR_data tibble with the columns of the base wrapper (the raw JSON list when return_parsed = FALSE) of each function:

Details

FIBA's terms restrict this source: the GDAP developer-portal terms limit API use to 'Authorized Users' and the fiba.basketball terms say no portion of the site may be duplicated, redistributed or manipulated. Users who are not themselves authorised by FIBA should check the terms before using the wrappers. See fiba_gdap_awards() for the shared notes.

A comp of another competition family, or one GDAP gives no family, is hoopR_asset_fetch; a season with no edition is hoopR_no_data; a season listing several editions, or a game function called with neither season nor comp, is hoopR_bad_request.

 fiba_americup_editions(season = 2025)
 fiba_americup_schedule(season = 2025)