yahoo_game
Retrieve Yahoo Sports game metadata for a season, including season year, game status, and the game_key required for other API calls. Specify a league like 'nfl' or numeric ID to get structured data for fantasy sports workflows.
Instructions
Game metadata for a sport-season: season year, whether it is over, and the game_key other calls need.
Returns: {fantasy_content:{game:[{game_key, game_id, name, code, type:'full', url, season, is_registration_over, is_game_over, is_offseason}]}} — SHAPE FROM VENDOR DOCS.
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: Current NFL season {"gameKey": "nfl"}
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 |
| gameKey | Yes | 'nfl', 'nba', 'mlb', 'nhl' for the current season, or a numeric id like '449'. Required — part of the URL path. |