Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dynamitechetan/cricketapi
A Flask API Server with options to get live scores, live commentary and scorecards.
https://github.com/dynamitechetan/cricketapi
api cricbuzz cricket cricket-api cricket-app flask-api ipl python server
Last synced: about 2 months ago
JSON representation
A Flask API Server with options to get live scores, live commentary and scorecards.
- Host: GitHub
- URL: https://github.com/dynamitechetan/cricketapi
- Owner: dynamitechetan
- Created: 2017-04-10T15:30:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-04T13:45:37.000Z (about 4 years ago)
- Last Synced: 2024-10-31T13:33:49.733Z (about 2 months ago)
- Topics: api, cricbuzz, cricket, cricket-api, cricket-app, flask-api, ipl, python, server
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 29
- Watchers: 2
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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```