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)

It gives stats for the given player in the season. Its response will have the following items,

  • 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 boundries and Best battings.
  • Bowling: Most wickets, Most runs, Most fours, Most sixes, Most boundries 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": "1526464979.0",
    "Etag": "1526464979.0",
    "cache_key": "player_stats|iplt20_2018|v_kohli",
    "data": {
        "player": {
            "key": "v_kohli",
            "name": "Virat Kohli",
            "batting_style": "Right-Hand Bat",
            "country": "in",
            "short_name": "V Kohli",
            "role": "Batsman",
            "full_name": "Virat Kohli",
            "bowling": {
                "dots": 0,
                "boundries": 0,
                "runs": 0,
                "best": {
                    "runs": 0,
                    "balls": 0,
                    "match": "iplt20_2018_g45",
                    "wickets": 0
                },
                "wickets": 0
            },
            "fielding": {
                "catches": 8
            },
            "batting": {
                "dots": 107,
                "sixes": 18,
                "runs": 514,
                "fours": 50,
                "boundries": 68,
                "best": {
                    "sixes": 4,
                    "fours": 7,
                    "balls": 62,
                    "runs": 92,
                    "match": "iplt20_2018_g14"
                }
            }
        }
    }
}

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.

+0-800-040-1803 (Indian Tollfree Number - BETA)

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