Skip to content

nburfield/fantasy-football

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fantasy Football

Setup

  1. Create the Python Virtual environment.

    python3 -m venv venv
    source venv/bin/activate
    pip install -r requirements
  2. optional Collect the additional player rankings

  3. Export SportsData.IO API Key

    export SPORTSDATA_KEY="<key>"

Data Source

ADP

The ADP data is pulled by the script for every run. The source data is provided by this site.

Player Rankings - Fantasy Footballers Data

This is optional data.

The player rankings must be downloaded manually. Go to the page and select rankings at the top. Go to each position, input the valid parameters for scoring format, and export as CSV.

Save the CSV files in a folder local to project named with shorthand position ffrd/<scoring-format>/<position>.csv (Ex. ffrd/half-ppr/qb.csv)

  • All File Options
    • Half PPR
      • ffrd/half-ppr/qb.csv
      • ffrd/half-ppr/rb.csv
      • ffrd/half-ppr/te.csv
      • ffrd/half-ppr/wr.csv
    • Full PPR
      • ffrd/ppr/qb.csv
      • ffrd/ppr/rb.csv
      • ffrd/ppr/te.csv
      • ffrd/ppr/wr.csv
    • Standard
      • ffrd/standard/qb.csv
      • ffrd/standard/rb.csv
      • ffrd/standard/te.csv
      • ffrd/standard/wr.csv

Running Script

python make_draft_board.py -sf <scoring_format> -pc <player_count>

  • scoring_format Options:
    • ppr: Full Points Per Reception
    • half-ppr: Half Points Per Reception
    • standard: Standard Scoring (ie. No PPR)
  • player_count Options: The ADP Source Only Has These Available
    • 8
    • 10
    • 12
    • 14

About

Fantasy Football data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published