yahoo_league_teams
Retrieve all teams in a Yahoo fantasy league with manager info, team keys, waiver priority, and FAAB balance to map team_key to managers and inform waiver strategies.
Instructions
Every team in the league with its manager — how you map team_key to a person.
Returns: {fantasy_content:{league:[{league_key}, {teams:{'0':{team:[[{team_key}, {team_id}, {name}, {url}, {team_logos}, {waiver_priority}, {faab_balance}, {number_of_moves}, {number_of_trades}, {managers:[{manager:{nickname, guid, is_commissioner}}]}]]}, count}}]}} — SHAPE FROM VENDOR DOCS. faab_balance and waiver_priority are what a waiver strategy is built on.
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: Teams in a league {"leagueKey": "449.l.12345"}
Auth: needs your own key in YAHOO_CLIENT_ID or YAHOO_CLIENT_SECRET or YAHOO_REFRESH_TOKEN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Leave as json. | json |
| leagueKey | Yes | League key. Required — part of the URL path. |