Skip to contents

Game count per day of one calendar month.

Endpoint: GET https://data-server.cbaleague.com/api/schedules/month

Usage

cba_schedule_month(year, month)

Arguments

year

(required) Required. CALENDAR year (not the season).

month

(required) Required. Calendar month, 1-12.

Value

A hoopR_data tibble with one row per day with games. Its columns are listed in return_columns (subset(return_columns, fn == "cba_schedule_month")) 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 cba_seasons().

See also

family_cba lists every function in this family.

Examples

# \donttest{
  try(cba_schedule_month(month = 12, year = 2025))
#> ── CBA Schedule Month from data-server.cbaleague.com ──────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-11-13 21:11:10 UTC
#> # A tibble: 31 × 2
#>    schedule_num schedule_time      
#>           <int> <chr>              
#>  1            0 2025-12-01 00:00:00
#>  2            0 2025-12-02 00:00:00
#>  3            0 2025-12-03 00:00:00
#>  4            0 2025-12-04 00:00:00
#>  5            0 2025-12-05 00:00:00
#>  6            0 2025-12-06 00:00:00
#>  7            0 2025-12-07 00:00:00
#>  8            0 2025-12-08 00:00:00
#>  9            0 2025-12-09 00:00:00
#> 10            0 2025-12-10 00:00:00
#> # ℹ 21 more rows
# }