get_leagues_by_team_id
Retrieve every league, both current and historical, that a specific team has participated in. Provide a team ID to get the data.
Instructions
Get all current and historical leagues for a team.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_id | Yes | Team ID. | |
| include | No | Semicolon-separated includes. e.g. country;seasons;currentSeason;stages;rounds | |
| select | No | Comma-separated fields to return. | |
| filters | No | Filters to apply. | |
| sortBy | No | Field to sort by. | |
| locale | No | Language for name fields. | |
| page | No | Page number. | |
| per_page | No | Results per page. |