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

ChatBot API

Get statistical answers for Cricket related questions. Apple Siri, Amazon echo & Google home like answers for Cricket Questions.

Request

  • Path: https://rest.cricketapi.com/rest/v3/bot/
  • Method: POST

  • Params:

    • access_token - Required
    • text - Required.
    • utc_offset - Required.
    • user - Required. Generate the user key using Register Bot user

Response

  • data.responses - Object. Object of bot response.

Example

Request:

$ curl -X POST \
    -d "text=Best score of Virat vs Australia" \
    -d "user=USER" \
    -d "utc_offset=+19800" \
    -d "access_token=ACCESS_TOKEN" \
    https://rest.cricketapi.com/rest/v3/bot/

Response:

{
"data": {
"responses": [
{
"confident": 1.0, 
"content": "He scored 90 in 55 balls on Jan 26, 2016 against Australia in T20", 
"handler": "cricket.handlers.MasterConversationHandler", 
"objects": {
"competitions": [
{
"card_name": "T20", 
"key": "international-t20", 
"name": "International-T20"
}
], 
"players": [
{
"card_name": "V Kohli", 
"key": "v_kohli", 
"name": "Virat Kohli"
}
], 
"teams": [
{
"card_name": null, 
"key": "aus", 
"name": "Australia"
}
]
}, 
"responder": "cricket.responders.master.PlayerBestMetrics", 
"user_should_respond": false
}
], 
"user": "user"
}, 
"status": true, 
"status_code": 200, 
"version": "3.0.1"
}

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)