The application provides the following API endpoints:
This endpoint retrieves information about a cricket player with the given name. The player name should be provided as a URL parameter.
The API returns a JSON object with the following structure:
[
{
"Player Name": "Player Name",
"Country": "Country",
"Role": "Role",
"Batting Career Summary 1": {
"Mode1": "Test",
"Matches": "Matches",
"Runs": "Runs",
"HS": "HS",
"Avg": "Avg",
"SR": "SR",
"100s": "100s",
"50s": "50s"
},
"Batting Career Summary2": {
"Mode2": "ODI",
"Matches": "Matches",
"Runs": "Runs",
"HS": "HS",
"Avg": "Avg",
"SR": "SR",
"100s": "100s",
"50s": "50s"
},
"Batting Career Summary3": {
"Mode2": "T20I",
"Matches": "Matches",
"Runs": "Runs",
"HS": "HS",
"Avg": "Avg",
"SR": "SR",
"100s": "100s",
"50s": "50s"
}
}
]
The API returns a JSON array containing the details of upcoming matches, including date, teams, and tournament.
The API returns a JSON object with the following structure:
["India vs South Africa, 1st ODI","India vs South Africa, 2nd ODI","India vs South Africa, 3rd ODI",...]
The API returns a JSON array containing the details of live matches, including team names, scores, and overs played.
The API returns a JSON object with the following structure:
["Australia 45/1 (8.4 ov)","Bangladesh 136/4 (17.4 ov)","India 118/2 (13.3 ov)",...]