get_sport_state
Retrieve current season, week, and related state for a sport to correctly scope subsequent fantasy football data requests.
Instructions
Return Sleeper's current week and season state for a sport.
For NFL this includes season, season type, week, leg, display week, previous season, league season, and season start date. Use this before week- or season-scoped calls when the current values are unknown, such as matchups, transactions, user leagues, or drafts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | No | Sleeper sport slug. Use 'nfl' for fantasy football. | nfl |