List leagues
list_leaguesCheck which SockOdds leagues your API key plan can read, optionally filtered by sport ID, to resolve an unknown league ID.
Instructions
List the leagues SockOdds carries and whether this API key's plan can read each one. The free Developer plan covers MLB, NFL, AFL and NRL. Use it when you are unsure of a leagueID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport_id | No | Optional sportID filter, for example AUSSIE_RULES or RUGBY_LEAGUE |