Skip to content

njgootee/fpl_season_review

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

FPL Season Review

A python script to pull FPL manager season data from the Fantasy Premier League API.

For use:

  • Generate necessary data files for FPL Season Review Tableau dashboard.
  • A starting point for other FPL data exploration and visualization needs.

Install Instructions

git clone https://github.com/njgootee/FPL_season_review

Or just download the get_msd.py file.

Run Instructions

Required libraries:

  • pandas
  • requests
  1. Navigate to directory where get_msd.py is saved.
  2. Run:
python get_msd.py {fpl_id}

How to obtain your FPL ID

  1. On the FPL Website login and navigate to the 'Points' tab.

  2. Your FPL ID is within the URL as following: fantasy.premierleague.com/entry/{fpl_id}/event/{gameweek}

Data Files

A 'data' directory will be created and populated with 4 files:

  • current.csv
    • Current season overview stats including ranks, points, value, transfers, chip usage.
  • gameweeks.csv
    • Gameweeks team selection data.
  • seasons.csv
    • Past seasons finishes overall ranks and points.
  • transfers.csv
    • Gameweek transfered players in and out.

About

A python script to pull FPL manager season data from the Fantasy Premier League API.

Topics

Resources

Stars

Watchers

Forks

Languages