Teams¶
Job: NFL: teams, conferences, divisions — Mondays at 6:00 ET.
Command: football_sync teams
- Seeds the two conferences and eight divisions from a static map keyed by ESPN's group ids (the same ids v1 used).
- Reads
teams_colors_logos.csvfrom the nflverse data releases: names, nickname, colours, logo, and the division label. Rows are keyed by the team abbreviation and mapped to ESPN team ids. - If nflverse is unreachable, falls back to ESPN
/teamsplus a static abbreviation → division map. - For each tracked team (
SPORTSDATA_FOOTBALL_TEAM_IDS), fetches ESPN/teams/{id}for the venue (name, city, state, indoor, capacity) and uid.
Stores Team, Conference, Division. Run this first on a fresh database;
every other collector resolves teams by id.