Developer Builds AI Tool That Converts Football Match Reports into Visual Stats
A developer has created PitchPassion AI, a web application that uses Google's Gemini API to extract player performance data from unstructured, text-based football match narratives. The tool processes journalist reports and fan accounts written in natural language, converting them into structured JSON data that is then rendered as visual charts. Built with a React frontend and Flask backend, the project was submitted as part of DEV Community's Weekend Challenge: Passion Edition. Key technical hurdles included handling inconsistent API output formatting and managing intermittent 503 errors from Gemini, both resolved through prompt engineering, backend sanitization, and an automated retry mechanism. The developer's stated goal is to help football fans quickly grasp player statistics without reading through lengthy match reports.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in