getTeams
Retrieve all active team IDs and names from the Fantasy NBA Israel League to use with other endpoints like getTeamDetails.
Instructions
Get the list of all teams in the fantasy league.
Use this endpoint to discover team IDs for use with other endpoints like getTeamDetails().
Returns:
A list of teams with their team_id and team_name.
Each item in the list is a dictionary with the following keys: {
"team_id": <integer_team_identifier>,
"team_name": <string_team_name>
}
NOTES:
- Team IDs are required for getTeamDetails(team_id)
- Team names may contain emojis or special characters
- The list includes all active teams in the league
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||