Skip to main content

Nfl Scores

@hmcrum/nfl-scoresv2026.09.17.1· 19d agoMODELS
01README

Real NFL game scores, schedules, standings, and team reference data from ESPN's public, unauthenticated endpoints. Complements @dougschaefer/sleeper (fantasy league state) — this model reads the actual games, not fantasy rosters. Three read-only methods: scoreboard (games for a week, defaults to the current week), standings (conference/division standings for a season), and teams (factory method — one resource per NFL team). Host-locked to site.api.espn.com and cdn.espn.com, no auth or secrets required.

Quick Start

bash swamp extension pull @hmcrum/nfl-scores swamp model create @hmcrum/nfl-scores nfl swamp model method run nfl scoreboard swamp model method run nfl scoreboard --input week=5 --input seasonType=regular swamp model method run nfl standings swamp model method run nfl teams

02Models1
@hmcrum/nfl-scoresv2026.09.17.1nfl_scores.ts

Global Arguments

ArgumentTypeDescription
userAgentstringUser-Agent sent to ESPN's endpoints — identify yourself honestly
fn scoreboard(week?: number, seasonType?: enum, year?: number)
Fetch NFL games for a week — defaults to the current week when no arguments are given
ArgumentTypeDescription
week?numberWeek number within the season type — omit for the current week
seasonType?enumpre, regular, or post — omit for whatever is currently in progress
year?numberSeason year, e.g. 2026 — omit for the current season
fn standings(season?: number)
Fetch NFL conference/division standings for a season — defaults to the current season
ArgumentTypeDescription
season?numberSeason year, e.g. 2025 — omit for the current season
fn teams()
Discover all NFL teams and store each as a separately addressable resource

Resources

scoreboard(15m)— NFL games for a given week — scores, status, venue, and both teams
standings(1h)— NFL conference/division standings for a season
team(infinite)— NFL team reference data (one instance per team)
03Stats
A
100 / 100
Downloads
14
Archive size
9.5 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
04Platforms
05Labels