supercoach_teams
Return a list of teams for a given sport and year, each with ID, name, and abbreviation, for use in linking to player records.
Instructions
The club/team catalogue for one game+season (AFL 18, NRL 17, EPL 20, NBA 30, NBL 10, NFL 32, BBL 8) — each with id, name and abbrev. Join team_id from supercoach_players back to here.
Returns: array of {id, name, abbrev, ...}
Example: AFL clubs
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | classic | |
| year | Yes | ||
| sport | Yes |