A Flask API Server with options to get live scores, live commentary and scorecards.
Cricket API - Live Scores | Commentary | ScoreCard
CricketAPI aims to provide free access to all cricket matches via API for all ODIs, Tests & T20s (International and IPL).
getAllMatches
http://localhost:1234/getMatches
This endpoint will return list of all Live and Upcoming matches.
liveScore
http://localhost:1234/livescore?matchId={matchID}
This endpoint will return live scores of {matchID}.
scorecard
http://localhost:1234/scorecard?matchId={matchID}
This endpoint will return scorecard of {matchId}.
getAllMatches
http://localhost:1234/commentary?matchId={matchID}
This endpoint will return ball by ball commentary of {matchID}.
Tested on python 2.7
pip install -r requirements.txt
python server.py
http://cricketapi.herokuapp.com/{endpoint}
eg. http://cricketapi.herokuapp.com/getMatches