by mariusvaporware · 3y ago · 0 comments
So, I created https://laterball.com: a web app the algorithmically determines the best games of the past 7 days without score spoilers, to let me (and you) know which games are worth spending time watching. There was also an associated twitter bot at https://twitter.com/laterball which occasionally tweets when there's been a high-quality game until the recent Twitter API changes.
Technical stuff: the back end is a Ktor server hosted on a linode instance which pulls statistics data from an API to determine the ratings. Factors used to determine ratings include goals (number, timing, swings in score, comebacks), xG, wins or draws against the odds, cards, and a few others.
Definitely a strange default setting to have it enabled.
I built something similar for NFL, it scrapes NFL stats websites (very few public APIs available afaik) and gives a 'fun index' for each game from the previous week.
I then obtain that game from a dodgy website and am able to watch it without any spoilers, but safe in the knowledge that it will definitely be a good game.
It was my first ever programming project and helped me learn Python, the code is complete shite but it works.
Won’t the high quality become the norm after some time?