supercoach_settings
Get competition state including current round, next round, lockout timings, and user/league counts for a sport and season. Use this to find the correct round for player projections.
Instructions
Competition state for one game+season: competition.current_round (last round scored), next_round (the one to project), is_lockout / lockout_start / lockout_end, is_closed, num_users, num_leagues. Call this FIRST to learn which round to pass to supercoach_players. Tiny (~15 KB).
Returns: {system, game, content, competition:{current_round, next_round, status, is_lockout, is_partial_lockout, lockout_start, lockout_end, is_closed, num_users, num_leagues}}
Example: AFL current round / next round
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| min | No | ||
| mode | No | classic | |
| year | Yes | ||
| sport | Yes |