Skip to content

steder/fantasy

Repository files navigation

Fantasy Football Playground

Nothing but chaos at the moment

Dependencies

mkvirtualenv fantasy

PsycoPG2

PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.3/bin/ pip install psycopg2

Everything else:

pip install -r requirements.txt

Basic usage:

FFN_API_KEY=<your api key> pipeline.sh <Game ID> <Week>

Bookmarklet Local

  1. start server.py
$ python server.py
  1. go to https://localhost:5000 and accept the self signed certificate

  2. setup the bookmarklet:

  1. use the bookmarklet

Sandman for Basic API

sandmanctl --no-generate-pks --show-pks postgresql://localhost:5432/fantasy