Skip to content

Fetch live scores from Fantasy Premier League. An exercise in actor programming.

License

Notifications You must be signed in to change notification settings

ishnid/fpl-live

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fpl-live

About

This is a simple script to fetch the live scores from a Fantasy Premier League league. It is confirmed as working for the 2017/18 season's game.

Usage

To run this program, you will need to know the ID for your league. When you visit your league page, you will see the ID in the URL. For example, the URL for the Football365's league is https://fantasy.premierleague.com/a/leagues/standings/578679/classic. The league ID is 578679.

To run the program, use the following command (while in the directory in which you've downloaded it), replacing 578679 with the ID of your league.

./fpl_cli.py 578679

Background

My motivation for writing this was an excercise in actor programming. It uses pykka: a lightweight actor framework for Python that is inspired by the akka actor programming language.

Prerequisites

Requires pykka and requests to be installed.

These can be installed by running the following:

pip install pykka requests

About

Fetch live scores from Fantasy Premier League. An exercise in actor programming.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages