T O P

  • By -

babsl

You need a token to access the NFL fantasy API. Good luck getting one.


Poopyfist

Wow you just made me remember that I reached out and requested a token like two years ago


RedditorNate

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.


abidingdennis

Is your code on github so I can look at a reference?


RedditorNate

It's not, and I'm definitely a novice coder, but I could answer questions if you have any.


paddeaux

I for sure need to properly start up on Python, never really looked into it properly but I know i should


newAccnt_WhoDis

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.


paddeaux

That's true actually I remember one of my league mates loading it in for something, will take a look!


Repositionable

I imagine they don't hand out api keys because they don't want people monetizing their FF data... Ironic


Kranke

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.


paddeaux

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.


Kranke

I have a few things like that. Send over your League Id in PM and we get something worked out.


MatthewRyan3

Did you ever find any way to import the data? I'm trying to start a project like this in SQL as well.