get_team_stats
Get team season statistics including offensive/defensive rating and Four Factors for both the team and its opponents. Provide a team code and optional season to interpret performance.
Instructions
Team season statistics including offensive/defensive rating and the Four Factors.
Four Factors are returned for the team and for its opponents, which is what makes them
interpretable: a good `tov_pct` is low, a good `opp_tov_pct` is high.
Args:
team_code: canonical code from search_teams, e.g. "MAD", "ZAL".
season: optional season code such as "E2025".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| season | No | ||
| team_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||