This API request enables the operator to get unfinished games list of last 30 days.
UnfinshedGameHistory() Request
Type | Input |
---|---|
HTTP Method | POST |
API URL | https://<API_BASE_URL>/games/unfinished-games/ |
Headers | "Content-Type": "application/json" |
POST Parameters | json object e.g.: { |
Parameters | Type | Description |
---|---|---|
api_key | String | API Key allocated to each front-end |
player_id | String | Player ID of the player known to the Operator |
game_type | String | Type of Game (eg: slots, table_games, scratch_cards) |
amount_type | String | Mode of Play For Example: ‘real’ – when playing with real cash ‘freespins’ – when playing with promo_freespin |
GameHistory() Response + Example
Response would be in JSON format. Type: dictionary.
{
"game_history":
{"freespins":
{"headers":
["Game Name","Round ID","Amount Type","Num Spins","Spins left","Date Time"],
"data":
[
["Test Game Name-1", 1001, "real", 10, 10, "2019-07-23 17:20:57"],
["Test Game Name-1", 1002, "real", 10, 1, "2019-07-23 17:20:57"],
["Test Game Name-2", 1003, "real", 5, 5, "2019-07-23 17:20:57"]
]
}
}
,
{"bonus_games":
{"headers":
["Game Name","Round ID","Amount type","Num Picks","Num of User Picks","Date Time"],
"data":
[
["Test Game Name-1", 1201, "real", 5, 0, "2019-07-23 17:20:57"],
["Test Game Name-1", 1202, "real", 1, 0, "2019-07-23 17:20:57"],
["Test Game Name-2", 1303, "real", 4, 3, "2019-07-23 17:20:57"]
]
}
}
}
Object/Key in Response Object | Type | Description |
---|---|---|
game_history | JSON Object | Key game_history contains the JSON object as value. Contains 2 keys ‘freespins’ and ‘bonus_games’ |
game_history[‘freespins’] | JSON Object | JSON Object with 2 keys freespins and data. |
headers | JSON List | List of table headers |
Game Name | String | Name of the game |
Round ID | Integer | Round ID which triggered free-spins |
Amount Type | String | Mode using which game was played |
Num Spins | Integer | Number of spins initially awarded |
Spins Left | Integer | Number of remaining spins |
Date Time | String | Server UTC time game played at |
data | JSON List of Lists | List of Lists of freespins |
game_history[‘bonus_games’] | JSON Object | JSON Object with 2 keys bonus_games and data. |
headers | JSON List | List of table headers |
Game Name | String | Name of the game |
Round ID | Integer | Round ID which triggered free-spins |
Amount Type | String | Mode using which game was played |
Num Picks | Integer | Number of picks initially awarded |
Num of User Picks | Integer | Number of remaining picks |
Date Time | String | Server UTC time game played at |
data | JSON List of Lists | List of Lists of bonus games |