View your fantasy teams with nfldb using a web interface.
NFLfan is a web application that provides a user interface for searching NFL
data (back to 2009), collecting all of your fantasy teams into one place for
live scoring updates and watching video of any play available on your
system.
These features are a culmination of the following projects:
nflgame in a relational PostgreSQL database. This provides a convenient andThis README is pretty sparse at the moment. It will be fleshed out a bit more
before the season starts.
Coming soon. (This will be a video since I cannot provide a public web service
that distributed NFL broadcast footage.)
I will also provide a real demo that lacks NFL broadcast footage.
nflfan can be installed with pip:
pip install nflfan
Note that nflfan requires a running instance of nfldb. Since this means
setting up and importing a PostgreSQL database, we have some installation
instructions here.
Once nflfan is installed, you’ll want to configure it. Here is a sample
config
file with
documentation. (Configuration will need to be fleshed out more.)
After nflfan is installed, a script called nflfan-update will be available.
This should update you fantasy rosters as configured in config.toml.
This script looks pretty broken right now. I will fix it shortly before the
regular season starts.
Including all of the other nfl* projects, the following tech is used:
wsgiref development server is quitenflfan.web module,I’m not much of a frontend guy, so the Javascript is a bit of a mess and
undocumented. However, considering the power of the UI, I think there is
surprisingly little of it. (Kudos to Knockout for that one, I think.)