A very simple Fantasy Premier League bot that can post:
- Live scoring (currently goals and assists)
- Price change warnings
- Price changes
It can post to Slack and Discord.
Live scoring and price changes are fetched from the API at fantasy.premierleague.com
Price change warnings are fetched from the API at fplstatistics.co.uk
The bot is written in Java 8 using Spring Boot 1.5.3 and Maven.
The configuration file is located at src/main/resources/application.properties
.
Before the bot can run you need to update the configuration to your liking, especially the Slack Auth Token and the Discord Webhooks.
mvn clean package && java -jar target/fpl-bot-0.0.1-SNAPSHOT.jar
The bot is currently posting messages to:
- Discord - r/FantasyPL - Click here to join
Here is a brief list of TODO's.
- Automatically adjust what the current gameweek is
- Only poll the live score API when actual matches are ongoing
- Listen for configuration changes on the fly
- Post a message when a game is about to start?
- Post final scores of matches?
- Post BPS and BP at end of a match?