How to Use Yahoo Fantasy Basketball player rankings in Gemini CLI
Returns Yahoo's preseason and actual player rankings in a public league. Use it to compare expectations with performance before examining the underlying category stats.
Prompts to try with Yahoo Fantasy Basketball player rankings in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use Yahoo Fantasy Basketball player rankings for guards in public league 10000 and build a table comparing preseason and actual rankings.
Use Yahoo Fantasy Basketball player rankings to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Yahoo Fantasy Basketball player rankings and tell me what changed since last week.
Check Yahoo Fantasy Basketball player rankings and summarize what you find in three bullet points.
Pull the newest data from Yahoo Fantasy Basketball player rankings and give me the result as a table.
How to set up Yahoo Fantasy Basketball player rankings in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Yahoo Fantasy Basketball player rankings
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "basketball-fantasysports-yahoo-com/fantasy-basketball-players/player_rankings", "input": { "league_id": "<league_id>" } }'
Then paste one of the prompts above: Gemini CLI finds Yahoo Fantasy Basketball player rankings on Spiral, shows the price and runs it.
Yahoo Fantasy Basketball player rankings providers and prices
Spiral runs Yahoo Fantasy Basketball player rankings through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini CLI for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Sdir | 0 or 1 | 1 | Sort direction as the site encodes it (sdir). |
| Sort | OR, AR_S, AR_L30, AR_L14, AR_L7, AR_AS, AR_AL30, AR_AL14 and 2 more | AR_S | Rank column to sort by: OR pre-season; AR_S / AR_L30 / AR_L14 / AR_L7 actual rank on total stats (season / last 30 / 14 / 7 days); AR_AS / AR_AL30 / AR_AL14 / AR_AL7 the same windows on average stats. |
| Offset | a number from 0 | 0 | Row offset; the page serves 25 rows. Use next_offset from the previous page. |
| Status | ALL, A, FA, W, T, K, or STATE_IL | ALL | Availability in this league: ALL, A (available), FA (free agents), W (waivers), T (taken), K (keepers), STATE_IL (available, IL eligible). Watch list (WL) needs a login and is not supported. |
| Position | P, PG, SG, G, SF, PF, F, C and 1 more | P | Position filter: P (all players), PG, SG, G, SF, PF, F, C, Util. |
Every API field of Yahoo Fantasy Basketball (public) · Player rankings is on its tool page: open its card above.
What can you do with Yahoo Fantasy Basketball player rankings in Gemini CLI?
Build a basketball comparison view that connects Yahoo player identities with category stats, rankings, news, or a public lineup. Keep roster dates and ranking labels visible so the project presents the right context.
Build a category-specific pickup shortlist
Inspect a public team's roster, identify candidate players, compare their category stats and rankings, and read their news before recommending an addition.
Review a proposed fantasy trade
Resolve the proposed players, inspect the public team's current lineup, and compare category contributions, ranking evidence, and recent news. Explain which categories the exchange could help or hurt.
Prepare a lineup review
Start with a dated public roster. Identify the players, compare their statistical contributions and rankings, and check the news before suggesting starting-lineup changes.
Write a weekly fantasy team brief
Use a public roster as the brief's player list, resolve names consistently, and summarize category production, ranking comparisons, and relevant basketball news.
Investigate a ranking surprise
Compare a player's preseason and actual ranks, examine the category stats behind the difference, and read recent news for possible explanations.
Find specialists for a category deficit
Compare available players' rebounds, blocks, assists, or made threes against the public team's existing players. Use rankings as a second comparison rather than the sole selection rule.
More on Yahoo Fantasy Basketball player rankings and Gemini CLI
Overview
Yahoo Fantasy Basketball player rankings in other agents
Questions about Yahoo Fantasy Basketball player rankings in Gemini CLI
Can Gemini CLI use Yahoo Fantasy Basketball player rankings?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Yahoo Fantasy Basketball player rankings like any built-in tool.
How much does Yahoo Fantasy Basketball player rankings cost in Gemini CLI?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need an Alexandria account to use Yahoo Fantasy Basketball player rankings in Gemini CLI?
No. Spiral runs Yahoo Fantasy Basketball player rankings on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Yahoo Fantasy Basketball player rankings in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while Yahoo Fantasy Basketball player rankings runs?
Yahoo Fantasy Basketball player rankings runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.
Does Yahoo Fantasy Basketball cover the NBA playoffs?
Yahoo describes its fantasy season as running from the first game through the end of the regular season. Its season-long fantasy coverage should not be read as an NBA playoff competition.
When are yesterday's scoring corrections applied?
Yahoo says its nightly update applies official scoring and live-data corrections by 8 a.m. Pacific for the previous day's games. Figures shown before that update can still change.
Are Yahoo's pre-draft rankings the same as expert rankings?
No. Yahoo says default pre-draft rankings depend on league settings and are separate from expert rankings.
Are basketball lineups weekly snapshots?
Yahoo organizes NBA fantasy rosters by date. A lineup for one date should not be treated as the lineup for an entire fantasy week.
How does Yahoo calculate field goal percentage?
Field goal percentage is field goals made divided by field goals attempted. To combine players, divide their combined makes by their combined attempts rather than averaging their percentages.
Start using Yahoo Fantasy Basketball player rankings in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


