Skip to contents

The competition of a season with its phases (regular season, playoffs, supercup).

Endpoint: GET https://bnxt.sportpress.info/api/v1/phase/season/{season}

Usage

sportpress_phases(season)

Arguments

season

(required) Season END year (2026 = 2025-26), the API's own key; no mapping is applied.

Value

A hoopR_data tibble: The competition of a season with its phases (regular season, playoffs, supercup). An empty valid answer raises hoopR_no_data; the columns are always these, in this order (sportsdataverse-py sportpress_phases):

col_nametypedescription
seasonintegerSeason END year (2026 = 2025-26), the sdv convention and the API's own season key.
competition_idintegerCompetition id (key space: sportpress competitions): ONE season of the league (24 = 2025-26, 25 = 2026-27). Not the season number. The key of the standings, ranking, slider and box routes.
competition_namecharacterCompetition name, 'BNXT League 2025-2026'.
phase_idintegerPhase id (key space: sportpress phases); the {phaseId} of the standings route. New every season.
phase_namecharacterPhase name as entered in the CMS; names differ every season.
standings_visiblelogicalWhether the phase shows standings; false for playoff phases, which answer the standings route empty.

Details

Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in sportpress_ui_strings().

Examples

# \donttest{
  try(sportpress_phases(season = 2026))
#> ── BNXT League Phases from Sportpress ─────────────────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-10-31 21:34:19 UTC
#> # A tibble: 6 × 6
#>   season competition_id competition_name   phase_id phase_name standings_visible
#>    <int>          <int> <chr>                 <int> <chr>      <lgl>            
#> 1   2026             24 BNXT League 2025-…      169 "Regular … TRUE             
#> 2   2026             24 BNXT League 2025-…      173 ""         FALSE            
#> 3   2026             24 BNXT League 2025-…      175 "BNXT Sup… FALSE            
#> 4   2026             24 BNXT League 2025-…      177 "NL Super… FALSE            
#> 5   2026             24 BNXT League 2025-…      179 "Playoffs… FALSE            
#> 6   2026             24 BNXT League 2025-…      181 "Playoffs… FALSE            
# }