The fantasy credit variation API gives the AI calculated credit value and the customized credit value by the user using the Fantasy Credit Editor. The AI calculated credit values available in the “original_credit_value” and the customized credit values available in the “credit_value”.
Path: https://rest.cricketapi.com/rest/v3/fantasy-match-credits-variation/MATCH_KEY/
Method: GET
Parameters:
access_token
- RequiredMATCH_KEY
- Required. Match keyoriginal_credit_value - It gives the Roanuz Football API AI calculated Credit Values.
credit_value - It gives the modified & static credit value edited by the user. It will not be changed for the match until it is maunually changed from the fantasy credit variation console.
players - list of object. List of all players in the match.
Sample Request
$ GET https://rest.cricketapi.com/rest/v3/fantasy-match-credits-variation/MATCH_KEY/?access_token=ACCESS_TOKEN
Sample Response
{
"cache_key": "football|recent_tournaments",
"data": {
"tournaments": [
{
"competition": {
"key": "1002227289838194689",
"name": "FIFA World Cup",
"short_name": null
},
"end_date": {
"gmt": "2018-07-15T00:00:00",
"timestamp": 1531612800
},
"key": "1002227289901109249",
"name": "FIFA World Cup 2018",
"short_name": "FIFA 2018",
"start_date": {
"gmt": "2018-06-14T00:00:00",
"timestamp": 1528934400
}
}
]
},
"expires": 1531861089,
"status": true,
"status_code": 200,
"version": "1.0.0"
}