Personal Analytics Suite for Yahoo Fantasy Sports

Smart Analytics for Yahoo Fantasy Basketball

Alfred's NBA Fantasy Analyst is a non-commercial, private decision-support tool. It securely connects to the Yahoo Fantasy Sports API to synchronize league rosters, model 9-category head-to-head matchups, and project weekly schedules.

Application Capabilities

Built specifically to assist the team owner in weekly lineup decisions and category forecasting.

πŸ”„

Automated Roster Sync

Connects to Yahoo Fantasy Sports using secure OAuth 2.0 to retrieve current team rosters, active players, injury tags, and weekly head-to-head opponent matchups.

πŸ“Š

9-Category Projections

Evaluates team strengths across PTS, REB, AST, STL, BLK, 3PM, FG%, FT%, and TO using population standard deviation, rolling games, and z-score models.

πŸ“…

Two-Week Schedule Planner

Scrapes and aggregates NBA schedules to analyze games played per day (Mon–Sun), highlight off-night streaming advantages, and back-to-back distributions.

πŸ”₯

Matchup Heatmaps

Color-coded statistical comparisons versus current weekly opponents to pinpoint category deficits and optimal waiver wire acquisitions.

πŸ›‘οΈ

Read-Only Architecture

All API interactions are strictly read-only. The application never performs trades, edits rosters, drops players, or alters league settings on Yahoo Sports.

πŸ”’

Local & Isolated Storage

Operates within a local Docker / Jupyter container. No user data or tokens are stored on public servers or exposed to external cloud services.

Yahoo Developer API Integration

Transparent documentation of OAuth 2.0 authentication and API usage.

OAuth 2.0 & Permissions

Alfred's NBA Fantasy Analyst adheres strictly to the Yahoo Developer Network Guidelines and Yahoo Fantasy Sports API terms of use.

  • βœ“
    Scope: Fantasy Sports (Read-Only, fspt-r).
  • βœ“
    Endpoints Used: /fantasy/v2/game/nba, /fantasy/v2/league/{league_id}, /fantasy/v2/team/{team_key}/roster
  • βœ“
    Authorization Flow: OAuth 2.0 Authorization Code flow with local token management.
  • βœ“
    Intended Audience: Personal private use for the league manager.
OAuth2 Token Exchange Flow
# 1. User authorizes read-only access
GET https://api.login.yahoo.com/oauth2/request_auth
    ?client_id={CONSUMER_KEY}
    &redirect_uri=oob
    &response_type=code

# 2. Local container exchanges auth code
POST https://api.login.yahoo.com/oauth2/get_token
    grant_type=authorization_code

# 3. Read-only roster sync request
GET https://fantasysports.yahooapis.com/fantasy/v2/team/{team_id}/roster
    Authorization: Bearer {ACCESS_TOKEN}

Privacy Policy

Last updated: October 25, 2026

Terms of Service

Last updated: October 25, 2026