sportsgameodds_teams
Retrieve teams for a specified league, including teamIDs, names, and colors. Essential for mapping event objects in sports odds data.
Instructions
Teams in a league, with the teamIDs used inside event objects.
Returns: {success:true, data:[{teamID, leagueID, names:{long, medium, short}, colors}]} — SHAPE FROM VENDOR DOCS.
NOTE: this shape is from the vendor's documentation and has NOT been verified against a live response (we hold no key for this provider). Treat it as approximate — inspect the actual payload before relying on a field name.
Example: NFL teams {"leagueID": "NFL"}
Auth: needs your own key in SPORTSGAMEODDS_API_KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| teamID | No | One team. | |
| leagueID | No | League id. |