Last active
September 29, 2024 17:00
-
-
Save cnizzardini/13d0a072adb35a0d5817 to your computer and use it in GitHub Desktop.
List of nfl teams as a CSV: name,abbreviation,conference,division for MySQL format. Please comment if you find any errors.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ID | Name | Abbreviation | Conference | Division | |
---|---|---|---|---|---|
1 | Arizona Cardinals | ARI | NFC | West | |
2 | Atlanta Falcons | ATL | NFC | South | |
3 | Baltimore Ravens | BAL | AFC | North | |
4 | Buffalo Bills | BUF | AFC | East | |
5 | Carolina Panthers | CAR | NFC | South | |
6 | Chicago Bears | CHI | NFC | North | |
7 | Cincinnati Bengals | CIN | AFC | North | |
8 | Cleveland Browns | CLE | AFC | North | |
9 | Dallas Cowboys | DAL | NFC | East | |
10 | Denver Broncos | DEN | AFC | West | |
11 | Detroit Lions | DET | NFC | North | |
12 | Green Bay Packers | GB | NFC | North | |
13 | Houston Texans | HOU | AFC | South | |
14 | Indianapolis Colts | IND | AFC | South | |
15 | Jacksonville Jaguars | JAX | AFC | South | |
16 | Kansas City Chiefs | KC | AFC | West | |
17 | Miami Dolphins | MIA | AFC | East | |
18 | Minnesota Vikings | MIN | NFC | North | |
19 | New England Patriots | NE | AFC | East | |
20 | New Orleans Saints | NO | NFC | South | |
21 | New York Giants | NYG | NFC | East | |
22 | New York Jets | NYJ | AFC | East | |
23 | Las Vegas Raiders | LV | AFC | West | |
24 | Philadelphia Eagles | PHI | NFC | East | |
25 | Pittsburgh Steelers | PIT | AFC | North | |
26 | Los Angeles Chargers | LAC | AFC | West | |
27 | San Francisco 49ers | SF | NFC | West | |
28 | Seattle Seahawks | SEA | NFC | West | |
29 | Los Angeles Rams | LAR | NFC | West | |
30 | Tampa Bay Buccaneers | TB | NFC | South | |
31 | Tennessee Titans | TEN | AFC | South | |
32 | Washington Commanders | WAS | NFC | East |
Search github for "espn" or "nfl ESPN", there are a number of people who appear to have created ways of scraping ESPN to get live data. I have not tried them as I am playing with getting that data from ESPN in JSON format and playing with it, as a learning experience.
For those interested in live scores only without other stats, there's a
json feed here. http://static.nfl.com/liveupdate/scores/scores.json .
Btw, I looked at the pro-football link and gave up trying to figure out how
they are loading data after discovering they only had historical data and
no live scores. I'll see what github has with those search params and try
them out. For my purpose, I only needed the schedule which is fairly static
and live scores. That is currently satisfied from the dump and above link.
Still would love to be able to load schedule from scrape in the future.
…On Mon, Sep 21, 2020 at 8:59 PM mbonett ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
Search github for "espn" or "nfl ESPN", there are a number of people who
appear to have created ways of scraping ESPN to get live data. I have not
tried them as I am playing with getting that data from ESPN in JSON format
and playing with it, as a learning experience.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://gist.github.com/13d0a072adb35a0d5817#gistcomment-3462497>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEHOH2XNKPK6EAZVOEA5WSLSHAOITANCNFSM4JTOE4FA>
.
Please update 'Washington Football Team' to 'Washington Commanders'
I'd also suggest changing both NY teams to 'New York' as it is more in line with the rest of the data.
@TidyH done
This is super helpful!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Post in here if find something. What about https://www.pro-football-reference.com/ @muzop? I imagine you code write a scaper as well, brittle as they are. Particularly easy if someone has CORS set to
*
and you can rip the JSON direct. Or I guess it doesn't matter on that account if you are using a server-side scripting language, sometimes need to jimmy it with cookies and what not.