ball_lav ball_pink Asset 2 Dhoni have 144.78 Strike rate against MI 7 Batting performance of MSD with MI? Question Answer MSD performance with MI? ball_lav ball_pink Asset 2

Season Player Stats API (Cricket Series Stats API)

Season Player Stats API gives stats for the given player in the season.

Guidelines: How Can Player Stats API Be Used.?

The response has the Total Number of Fours, Sixes, and Runs scored in the season.

  • Fielding: Most number of catches
  • Batting: Best battings, Most fours, Most sixes, Most dots, Most boundaries, and Best battings.
  • Bowling: Most wickets, Most runs, Most fours,Most sixes, Most boundaries, and Best bowling.

Request

  • Path: https://rest.cricketapi.com/rest/v2/season/{SEASON_KEY}/player/{PLAYER_KEY}/stats/
  • Method: GET
  • Params:

    • access_token - Required
    • SEASON_KEY - Required. Season key
    • PLAYER_KEY - Required. Player key

Response

  • data.player.batting - dict object.
  • data.player.bowling - dict object.
  • data.player.fielding - dict object.

Example

Request:

$ GET https://rest.cricketapi.com/rest/v2/season/iplt20_2018/player/v_kohli/stats/?access_token=ACCESSTOKEN

Response:

{
    "status": true,
    "version": "2.0.3",
    "status_code": 200,
    "expires": "1542893532.0",
    "Etag": "1542893532.0",
    "cache_key": "player_stats|asiacup_2018|s_malik",
    "data": {
        "player": {
            "key": "s_malik",
            "name": "Shoaib Malik",
            "batting_style": "Right-Hand Bat",
            "country": "pk",
            "short_name": "Shoaib Malik",
            "role": "Batsman",
            "full_name": "Shoaib Malik",
            "bowling": {
                "dots": 35,
                "boundries": 6,
                "runs": 85,
                "best": {
                    "runs": 14,
                    "balls": 27,
                    "match": "asiacup_2018_s3",
                    "wickets": 0
                },
                "wickets": 0
            },
            "fielding": {
                "catches": 0
            },
            "batting": {
                "dots": 121,
                "sixes": 4,
                "runs": 211,
                "fours": 11,
                "boundries": 15,
                "best": {
                    "sixes": 2,
                    "fours": 4,
                    "balls": 90,
                    "runs": 78,
                    "match": "asiacup_2018_s3"
                }
            }
        }
    }
}

True Support Center

Not sure, what plan to choose? Just get in touch us. We are committed to providing a solution to all cricket data requirements. Feel free to write your technical questions, to know about best practice and guidelines.

000-800-040-1803 (Indian Tollfree Number)

+1 (855) 2SPORT4 (US Tollfree Number)