Teams

Conferences, divisions, and the 32 teams

Teams

Job: NFL: teams, conferences, divisions — Mondays at 6:00 ET. Command: football_sync teams

  1. Seeds the two conferences and eight divisions from a static map keyed by ESPN's group ids (the same ids v1 used).
  2. Reads teams_colors_logos.csv from 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.
  3. If nflverse is unreachable, falls back to ESPN /teams plus a static abbreviation → division map.
  4. 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.