rsumit123/ipl_live ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Flask app that lets me get live IPL scorecards from Cricbuzz using a match ID from the Cricbuzz URL.
I want an API that returns the full scorecard in JSON for live or completed matches, including batting and bowling figures, innings scores, toss details, the winning team and margin when the match is over, and the playing eleven for both teams. Also add a second endpoint for live ball by ball commentary, showing the most recent couple of overs in a clean JSON format.
Please make it simple to run locally and easy to deploy. If some older Cricbuzz endpoint no longer works, use whatever current page or data source still works and look up current docs online if needed. Keep the response structure clear and useful for someone just trying to track a match quickly.
Are you gonna build this?
make sure you review the code using coderabbit