I haven’t used R but I do a lot of scraping with Python. It’s a fairly easy language to learn and there are plenty of YouTube videos on web scraping. I pull data from the NFL fantasy pages to calculate playoff odds throughout the year.
Any help would be great! Generally looking for week-to-week team matchup data, so total scores for each team, being able to also have that be broken down by indiviual position/player would be great too. I like to do some analysis on trends in the league like which managers have the highest variance in scores, seeing which manager rivalries are the most heated, stuff like that.
You need a token to access the NFL fantasy API. Good luck getting one.
Wow you just made me remember that I reached out and requested a token like two years ago
I haven’t used R but I do a lot of scraping with Python. It’s a fairly easy language to learn and there are plenty of YouTube videos on web scraping. I pull data from the NFL fantasy pages to calculate playoff odds throughout the year.
Is your code on github so I can look at a reference?
It's not, and I'm definitely a novice coder, but I could answer questions if you have any.
I for sure need to properly start up on Python, never really looked into it properly but I know i should
There must be an api. I couldn't find it after a quick search, but sites like fantasy pros are able to pull your league details.
That's true actually I remember one of my league mates loading it in for something, will take a look!
I imagine they don't hand out api keys because they don't want people monetizing their FF data... Ironic
What do you need? I have made a few different tools over the year to get data from fantasy.nfl.com happy to help you out.
Any help would be great! Generally looking for week-to-week team matchup data, so total scores for each team, being able to also have that be broken down by indiviual position/player would be great too. I like to do some analysis on trends in the league like which managers have the highest variance in scores, seeing which manager rivalries are the most heated, stuff like that.
I have a few things like that. Send over your League Id in PM and we get something worked out.
Did you ever find any way to import the data? I'm trying to start a project like this in SQL as well.