yahoo_sports_stats
Fetch a complete Yahoo Sports league stats table by league, week, and page type, including live tabs, filters, and sort-stat IDs for querying player or team leaders.
Instructions
Yahoo Sports league stats table. Returns one complete Yahoo stats table (the embedded data can contain up to 200 rows), plus the live tabs, filters and sort-stat catalog. Pagination in Yahoo's table is client-side; no page or offset parameter is added.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| week | No | Week number from stats-discovery; pair with weekSeasonPhase | |
| league | Yes | Stats league key | |
| pageType | No | Stats page type; defaults to individual | |
| qualified | No | Qualified leaders filter, when listed by stats-discovery | |
| cutTypeIds | No | Split/situation id from stats-discovery, e.g. HOME | |
| sortStatId | No | Sort id from the response's sort_stat_ids, e.g. TOTAL_REBOUNDS_PER_GAME | |
| positionIds | No | Position id from stats-discovery, e.g. POINT_GUARD | |
| selectedTable | No | Tab id from the response's tabs list; defaults to 0 | |
| leagueStructure | No | Structure id from stats-discovery, e.g. nba.struct.conf.1 | |
| weekSeasonPhase | No | Phase value paired with week, e.g. REGULAR_SEASON or POSTSEASON |