Show the tournament stats, player stats & Standing in your app live scorecard. To show the following API are required.
The Season Stats API gives the statistics of the required season. The Season Stats API provides the best 5 players of Fielding, Batting and the Bowling performance. The following are the details.
Total Number of Fours, Sixes, and Runs scored in the season.
Fielding: Most number of catches. To get the fielding details, refer [data.stats.fielding]
in the response.
Batting: Best battings, Most fours, Most sixes, Most dots, and Best battings. To get the batting details, refer [data.stats.batting]
in the response.
Bowling: Most wickets, Most runs, Most fours, Most sixes, and Best bowling. To get the bowling details, refer [data. stats.bowling]
in the response.
https://rest.cricketapi.com/rest/v2/season/SEASON_KEY/stats/?access_token=ACCESSTOKEN
Every Season has the unique identification key called Season Key. Get the season key from the Recent Season API & Schedule API.
In the Schedule API response refer, {data.months.days.matches.season.[key]}
.
In the Recent Season API response refer, {data.[key]}
.
The Player stats API gives the historical statistics of the required player. The player stats API gives the complete Fielding, Batting and the Bowling details. The following are the details.
Fielding: Number of catches and Number of stumpings.
Batting: It gives batting details such as Matches, Runs, Fours, Sixes, Strike Rate, etc.
Bowling: It gives bowling details such as Matches, Balls, Runs, Strike Rate, etc.
To get the stats, refer {data.player.stats}
in the Player Stats API response.
https://rest.cricketapi.com/rest/v2/player/PLAYER_KEY/league/BOARD_KEY/stats/?access_token=ACCESSTOKEN
Possible Board Key: icc, ipl
Player Key: Get the Player Key from the Match API, Season API & Season Team API for all the tournaments. The Business Plan and the Enterprise Plan users can get the complete list of players using the Player List API . The Player List API gives the complete list of player key, name & other details based on the requested Board, Competition, and the Year.
The Points Table API gives the team points of the required season. It provides the team name, number of lost matches, number of won matches, net run rate, number of matches played, and the total match points.
https://rest.cricketapi.com/rest/v2/season/SEASON_KEY/points/?access_token=ACCESSTOKEN