get_team_years
Retrieve team-year statistics from the Statbotics API, filtering by team number, year, country, state, or district, with customizable sorting and pagination.
Instructions
Get team-year statistics with optional filtering by team, year, location, and district
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | No | Team number (no prefix), e.g. 86 | |
| year | No | Four-digit year (2002 onwards) | |
| country | No | Capitalized country name, e.g. USA or Canada. | |
| state | No | Capitalized two-letter state code, e.g. NC. | |
| district | No | District abbreviation. One of: ca, fch, fim, fin, fit, fma, fnc, fsc, isr, ne, ont, pch, pnw, win. | |
| metric | No | How to sort the returned values. Any column in the table is valid. | |
| ascending | No | Whether to sort in ascending order. Default is ascending. | |
| limit | No | Maximum number of results to return (1-1000). Default is 1000. | |
| offset | No | Offset from the first result to return. |