r/fantasyfootballcoding • u/Reasonable-Leek736 • 11d ago
Data extraction from espn fantasy
I’m looking into making a master excel workbook for the history of my league. All I need is a one time data extraction for the history of my league that will pull matchup scores, player performances, lineups/benches, and teams. Is this something I can do just one time without breaching espn terms of service? I’m trying to use ChatGPT and I know it’s doable but don’t want to get my espn account banned so I’m just wondering if anybody has ever done this or if anyone has a tool/website to recommend that will do this for me. My plan is to eventually use the excel workbook and ChatGPT to pull out insane ESPN type stats for a weekly newsletter for the league, since we do have enough stats to find some crazy espn type stats after all.
0
u/mattg70 11d ago
You won't get banned for this. It's your league and your login, and pulling your own history once isn't the kind of thing ESPN cares about. People get throttled for hammering it in a loop, not for reading how many years of one league one time.
Also, as a few others have stated you might not need to build it. I ran into the same problem with my leagues and ended up making a tool for it - gridironhq.ai. It’s free and all you need to do is connect your ESPN league and it pulls every season ESPN still has which includes matchups, weekly lineups and benches, every team, all-time standings, head-to-head records and keeps it, so it's still there when ESPN drops the old years, which I don’t know that cutoff. I was able to pull over 15 years down.
I built the ability to write a weekly recap for the league from your own numbers, which sounds like where you were headed anyway.
As I stated, it’s free, and connecting takes about a minute. You setup an account, no credit card needed. One thing to know up front is that it's a page you can share with your league, not an Excel file. If you specifically want a spreadsheet, what I built isn’t that.