An API to retrieve and read NFL Game Center JSON data. It can work with real-time data, which can be used for fantasy football.
by BurntSushiPython
Last 12 weeks · 0 commits
2 of 6 standards met
I'm using the version of the codebase that has (not the postseason version) and I'm getting back the live XML. However, during live games, …is returning None. Something change in the schema? Thanks for this library @BurntSushi , it's been awesome the past three years I've been able to use it in my pick 'em app.
I have python 2.7.17 on windows 10. I downloaded virtualenv and believed I activated it. I run pip install nflgame-redux==2.0.1b1 from powershell admin and it runs fine. When I run nflgame-update-players from powershell it asks me which program I want to run it in. I tried this command in python command line >>>nflgame-update-players I get ;nflgame' is not defined. I then tried import nflgame from the python command line and it closes the python command line window.
Forgive me if this is somewhere I missed- it is NOT an issue with nflgame. I find about 270 RB, QB, TE, WR, K, positions on NFL.com without a gss-id (or so says the player update program). These are mostly new players in the league. I know it is up to the NFL to assigned them but I was wondering if anyone has experience from years past as to when they get assigned... people building their draft lists are missing new players like Manzeil since he has no gss-id (my program maps gss-id to RaysFFL playerid)... I can add code to put these players in my database but if the NFL generally assign a gss-id, say by the first game of the preseason (Sunday, 8/3), then I will just wait. Ray
Wow, a lot has happened over the holiday regarding the Complete List of Active Players, thanks to cminton and BurntSushi. The team rosters look very nice, but does anyone else notice the number of duplicate names, seams like more than ever. These are just the ones on my existing -----'excel generated' ------injury list. Jonathan Stewart Brandon Marshall Andre Smith Chris Givens A.J. Davis Brandon Williams Steve Williams Chris Clemons Zach Miller Michael Smith Currently I’m getting the injuries here , http://www.pro-football-reference.com/years/2013/injuries.htm . The name formats are a very good match. But because of the lack of a simple name matching will be troublesome again this year. Ultimately, I believe my answer is here; http://www.nfl.com/injuries?week=1 which just became active this morning but has yet to be populated. I’m confident in being able to scrape this page with excel. However, if the is present it certainly won’t be listed in the table format, but rather obscured in the source code. Does anyone know how to scrape that type of page of all its contents?
I'm filing this issue because I see no concerted effort to alleviate the data pulling issues, in particular how update_schedule.py works, namely that it is not automatically up-to-date upon install. Just glancing at the issue's, here are the ones filed because the data isn't automatically updated; #347 #331 #292 (kinda) #30 (related, whats the word on these explanations?) And a WHOOOLE bunch of closed issues What I would like to see:** nflgame automatically updates the schedule/data upon install An option for zero manual intervention, but this may be silly w/ nflgame.live I'm sure this list will grow, i'm just not sure what else could be done to improve this, or at least prevent the initial confusion for people installing this for the first time. Any thoughts?
Repository: BurntSushi/nflgame. Description: An API to retrieve and read NFL Game Center JSON data. It can work with real-time data, which can be used for fantasy football. Stars: 1297, Forks: 400. Primary language: Python. Languages: Python (78.7%), HTML (20.5%), Shell (0.5%), Makefile (0.3%), Vim Script (0%). License: Unlicense. Homepage: http://pdoc.burntsushi.net/nflgame Open PRs: 15, open issues: 125. Last activity: 6y ago. Community health: 42%. Top contributors: BurntSushi, ochawkeye, leighlondon, cjmcdonn, benschroeder, front9tech, derek-adair, snake-plissken, hugovk, sebasttj and others.