Skip to contents

The divisions (preseason, regular season, play-in, playoffs, finals) of one season.

Endpoint: GET https://api.tpbl.basketball/api/events/{season}/divisions

Usage

tpbl_divisions(season)

Arguments

season

Required. Season END year (2026 = the 2025-26 season; 2025 is the first). The API keys a season by its own small integer (1, 2, 3 = 2024-25, 2025-26, 2026-27; the event id of /events/{id}/* is the same number): the runtime reads /seasons once and sends that id, so the example URL shows the year. A year the list lacks raises hoopR_no_data.

Value

A hoopR_data tibble with one row per division. Its columns are listed in return_columns (subset(return_columns, fn == "tpbl_divisions")) and in the searchable return columns article.

Details

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

 tpbl_divisions(season = 2026)

See also

family_tpbl lists every function in this family.