Skip to contents

Fetches site.web.api.espn.com/apis/common/v3/sports/basketball/{league}/statistics/byathlete for the given season and season type and returns a flat tibble of leaders (one row per category-athlete pair).

Usage

.espn_basketball_leaders(league, season, season_type = 2, ...)

Arguments

league

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

season

numeric. Season year.

season_type

integer. 1 = preseason, 2 = regular (default), 3 = postseason.

...

Unused; reserved for forward compatibility.

Value

A wehoop_data tibble, or NULL on error.