Skip to contents

Fetches sports.core.api.espn.com/v2/sports/basketball/leagues/{league}/seasons/{year}/athletes with pagination. Progress messages are emitted via cli::cli_inform() since the WBB roster can exceed 10,000 entries across many pages.

Usage

.espn_basketball_athletes_index(
  league,
  season,
  active = TRUE,
  limit = 25000L,
  ...
)

Arguments

league

character. "wnba" or "womens-college-basketball".

season

numeric. Season year.

active

logical. Return only active athletes when TRUE.

limit

integer. Maximum number of rows to return.

...

Unused; reserved for forward compatibility.

Value

A wehoop_data tibble, or NULL on error.