In order to learn new tools such as Flask and Heroku, I created a mobile-friendly dashboard for my own Fantacalcio (Fantasy League?) team, which consists of 24 players from Serie A. Every week I have to select 11 names from my roster and simulate a soccer match against my friends, thus I need to read the suggestions from SOS Fanta, analyze ratings, chances of playing and several other informations before making my final choice. I was looking for a tool to support me in this operation.
The Web App has an hourly scraper that extracts data of my 24 players (inserted in app/static/team.json) using Regex and requests, then renders an HTML table on Flask with:
- Any mention of the player's name from one of SOS Fanta articles
- Chance of being in the starting team of the upcoming match
- Number of matches played this year, goals and assists
- Average rating (Voto) and rating with Fantacalcio multipliers (Media Fantavoto)
- Link to additional data on Fantacalcio.it
The Dashboard is publicly available at https://fanta-dashboard.herokuapp.com/home