yahoo_league_scoreboard
Get a week's Yahoo fantasy matchups with actual and projected points per team, enabling live win-probability analysis.
Instructions
One week's matchups with both teams' points — live during a week, final after.
Returns: {fantasy_content:{league:[{league_key}, {scoreboard:{'0':{matchups:{'0':{matchup:{week, status, is_playoffs, teams:{'0':{team:[…, {team_points:{total}}, {team_projected_points:{total}}]}, count:2}}}, count}}, week}}]}} — SHAPE FROM VENDOR DOCS. Note team_projected_points alongside actual, which is what an in-week win-probability read needs.
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: A week's matchups {"leagueKey": "449.l.12345", "week": 1}
Auth: needs your own key in YAHOO_CLIENT_ID or YAHOO_CLIENT_SECRET or YAHOO_REFRESH_TOKEN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| week | Yes | Week number (from yahoo_league's current_week / start_week / end_week). Required — part of the URL path. | |
| format | No | Leave as json. | json |
| leagueKey | Yes | League key. Required — part of the URL path. |