Skip to content

A Flask API Server with options to get live scores, live commentary and scorecards.

Notifications You must be signed in to change notification settings

dynamitechetan/CricketAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CricketAPI


				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).

It includes following features:

  • Scorecards of matches
  • Ball by Ball Commentary
  • Live Scores

Usage

  • 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}.

Running and Setup

Tested on python 2.7
pip install -r requirements.txt
python server.py

Heroku

http://cricketapi.herokuapp.com/{endpoint}
eg. http://cricketapi.herokuapp.com/getMatches

About

A Flask API Server with options to get live scores, live commentary and scorecards.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages