David Lillis: Fantasy Premier League Live Scores

Introduction

Retrieve a live league table from the Fantasy Premier League site.

A simple example of actor programming using the pykka library (a lightweight actor framework for Python that's inspired by the akka actor programming language)

The official Premier League fantasy football game only updates its league tables at the end of each day. The data to calculate a live league table while games are ongoing is available through a publicly-accessible API. However, it requires a separate HTTP request to be made for each team in the league. Thus parallelising the process is desirable, which motivates the use of actors.

The source code is available from GitHub.