Skip to content

Daily newsletter with latest stats and charts for your FPL league

Notifications You must be signed in to change notification settings

micsparre/fpl-newsletter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fpl-newsletter


I forked this hobby project from leej11/fpl_draft_league ⚽️

The starter code in this project from leej11 provided a solid foundation of calling the Premier League's Fantasy API and creating chart visualizations for user groups.

I have extended the project to email myself a generated report of players that have been added to the league, injury/transfer status updates of players, and weekly charts for the latest gameweek - as a scheduled job.

The job runs daily using cron. It is scheduled on my local machine and works to compare the api information of the previous day from an updated sqlite table with the currently fetched api extracts.

An example of the configuration file/variables required to run the project are located in fpl_newsletter/configuration/example-config.json.

The entry point program that gets run when being scripted is fpl_newsletter/main.py.

Requirements

I am currently running this project on Python 3.10.9 with all my downloaded packages installed with pip and frozen to requirements.txt.

After downloading the correct version of Python and creating a virtual environment, you can easily setup these packages with this command: pip3 install -r requirements.txt.

About

Daily newsletter with latest stats and charts for your FPL league

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%