Re-exports§
pub use snapshot::Snapshot;
Modules§
Structs§
- Admin
Config - Admin router config: season and optional test clock override.
- Data
Revision - Opaque snapshot hint used to detect changes in NFL-data freshness.
- Espn
Player Id - Game
- Injury
Entry - Live
Game - Live
Game Snapshot - Live
Player Stats - Live
Scoreboard - Live
Slate - Live
Team Stats - NflData
- NflData
Config - Player
- Player
Identity - How a page names one pick: the display facts every consumer of a gsis id needs, resolved from whichever source carries the player.
- Player
Week Stats - Provider
Response - Season
- Season
Week - An NFL week identified by season year and absolute week number.
- Tank01
Config - Team
Week Stats - One team’s per-week DST line, aggregated from play-by-play. Every field is
a FanDuel DST scoring input.
touchdownscollapses defensive, return, and special-teams TDs (all score +6).points_allowedis the opponent’s offensive points (FanDuel’s points-allowed), not the scoreboard total. - Week
- Weekly
Roster Entry - One player’s place on a team’s roster in a single week. This survives mid-season trades: a player appears under each team for the weeks he was actually there.
Enums§
- DfsPosition
- A daily fantasy sports roster position for an NFL player or team defense.
- Injury
Designation - Live
Game Phase - Live
Provider Error - NflData
Error - Common error for nflverse, FanDuel, slate, and local-store operations.
- Provider
Outcome - Season
Type - Stored as TEXT “REG”/“POST”. Upstream playoff game types (WC/DIV/CON/SB) map to Post at ingest.
- Team
Abbr - An NFL team identified by its canonical abbreviation.
Traits§
Functions§
- admin_
router - Build the admin router. Not authenticated: the host must mount it behind its own admin gate.
- eastern_
offset - US Eastern offset for a date under post-2007 DST rules (second Sunday of March through first Sunday of November). Correct for every season this crate is configured to fetch; no NFL game kicks off inside the 2 AM transition window.
- to_
eastern - Convert an instant to US Eastern wall-clock time under post-2007 DST rules.