Get League Settings
get_leagueRetrieve ESPN fantasy league settings including scoring, roster slots, waivers, schedule, trades, draft/keeper rules, and current scoring period.
Instructions
League settings: scoring format, roster slot counts, acquisition (waiver) settings, schedule, trade settings, draft/keeper settings, and the current scoring/matchup period.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | No | ffl (football), fba (basketball), or flb (baseball). Defaults to ESPN_SPORT. | ffl |
| season | No | Season year. Defaults to ESPN_SEASON. | |
| league_id | No | ESPN league id. Defaults to ESPN_LEAGUE_ID. | 123456 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| leagueId | Yes | ||
| seasonId | Yes | ||
| teamCount | No | ||
| draftSettings | No | ||
| tradeSettings | No | ||
| rosterSlotCounts | No | ||
| scheduleSettings | No | ||
| acquisitionSettings | No | ||
| currentMatchupPeriod | No | ||
| currentScoringPeriod | No |