Skip to contents

Returns metadata for a single MBB tournament plus the $ref URL for the tournament's seasons list. Tournament IDs of interest include the NCAA Tournament and NIT (resolve via espn_mbb_tournaments()).

Returns metadata for a single tournament plus the $ref URL for the tournament's seasons list. Use espn_nba_tournament_seasons() to resolve the seasons.

Usage

espn_mbb_tournament(tournament_id, ...)

espn_nba_tournament(tournament_id, ...)

Arguments

tournament_id

ESPN tournament identifier.

...

Additional arguments; currently unused.

Value

A hoopR_data tibble with one row per tournament.

col_nametypesdescription
tournament_idcharacterESPN tournament identifier.
display_namecharacterHuman-readable tournament name.
seasons_refcharacter$ref to the seasons-list endpoint.
leaguecharacterLeague slug.

A hoopR_data tibble with one row per tournament.

col_nametypesdescription
tournament_idcharacterESPN tournament identifier.
display_namecharacterHuman-readable tournament name.
seasons_refcharacter$ref to the seasons-list endpoint.
leaguecharacterLeague slug ("nba").

See also

family_espn_mbb lists every function in this family.

family_espn_nba lists every function in this family.

Author

Saiem Gilani

Examples

# \donttest{
  espn_mbb_tournament(tournament_id = 3)
#> ── ESPN MENS-COLLEGE-BASKETBALL Tournament Detail ─────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-11-13 21:12:49 UTC
#> # A tibble: 1 × 4
#>   tournament_id display_name                   seasons_ref                league
#>   <chr>         <chr>                          <chr>                      <chr> 
#> 1 3             Atlantic Coast Conf Tournament http://sports.core.api.es… mens-…
# }
# \donttest{
  espn_nba_tournament(tournament_id = 1)
#> ── ESPN NBA Tournament Detail ─────────────────────────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-11-13 21:12:49 UTC
#> # A tibble: 1 × 4
#>   tournament_id display_name seasons_ref                                  league
#>   <chr>         <chr>        <chr>                                        <chr> 
#> 1 1             NBA Cup      http://sports.core.api.espn.com/v2/sports/b… nba   
# }