yahoo_game_roster_positions
Retrieve roster positions for a specified game key to identify starting slots versus bench/IR, providing the data needed to build valid fantasy lineups.
Instructions
The roster positions a game defines (QB, RB, FLEX, BN, IR…) — needed to build a valid lineup write.
Returns: {fantasy_content:{game:[{game_key}, {roster_positions:[{roster_position:{position:'QB', position_type:'O', is_starting_position}}]}]}} — SHAPE FROM VENDOR DOCS. is_starting_position distinguishes a starting slot from BN/IR, which is exactly what a lineup optimiser 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: NFL roster positions {"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 | Game key. Required — part of the URL path. |