(Indian Tollfree Number)
(US Tollfree Number)
The Chatbot API gives the answers from topics such as player profile, recent matches, player vs. team, team vs. team and live updates.
https://rest.cricketapi.com/rest/v3/bot/
Method: POST
Params:
access_token
- Requiredtext
- Required.utc_offset
- Required.user
- Required. Generate the user key using Register Bot userdata.responses
- Object. Object of bot response.$ 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/
{
"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"
}
Not sure, what plan to choose? Just get in touch us. We are committed to providing a solution to all sports data requirements. Feel free to write your technical questions, to know about best practice and guidelines.