Replace the league_id of the fantasy group in the main.py file,
Use the API from https://fantasy.premierleague.com/api/ to retrieve team IDs of entries within the league. Aggregate and fetch information such as points for each gameweek, transfer points, bank, and used chips. Generate HTML-formatted tables and display them on port 19999.
pip3 install requests flask
python3 main.py
Sample:
Stores all football managers in your league.
Stores all football player information.
Stores all events for the specified Gameweek (GW).
Stores the scores of a user from GW 1 to the current Gameweek.
Stores all football players selected by the user for the specified Gameweek.
Caches all HTML tables for your league for the specified Gameweek.
job auto update json data file and update HTML