UnfinishedGames() API

此 API 请求使运营商能够获取最近 30 天未完成的游戏列表。

UnfinishedGames() 请求

类型输入
HTTP 方法POST
API URLhttps://<API_BASE_URL> /games/unfinished-games/
标头"Content-Type": "application/json"
POST 参数json 对象 eg:
{
"api_key": "1pghjl4v5apt2bks",
"player_id": "1",
"game_type": "slots",
"amount_ type": "real"
}
参数类型描述
api_key字符串分配给每个前端的 API Key
player_id字符串运营商已知的玩家ID
game_type字符串游戏类型 (例如:slots, table_games, scratch_cards)
amount_type字符串游戏模式
例如: ‘real’ – 用真实货币游戏时 ‘freespins’ – 用promo_freespin玩游戏时

GameHistory() 响应 + 示例

响应将采用 JSON 格式。 类型:字典。

{ "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"] ] } } }
响应对象中的对象/Key类型描述
game_historyJSON 对象Key game_history 包含 JSON 对象作为值。 包含 2 个 Key,‘freespins’ and ‘bonus_games’
game_history[‘freespins’]JSON 对象JSON对象,带有两个Key,免费旋转和数据。
headersJSON 列表表头列表
Game Name字符串游戏名称
Round ID整数触发免费旋转的回合 ID
Amount Type字符串游戏模式
Num Spins整数最初授予的旋转次数
Spins Left整数剩余旋转次数
日期时间字符串游戏进行的服务器UTC时间
dataJSON 表中表免费旋转表中表
game_history[‘bonus_games’]JSON 对象JSON对象,带有两个Key,bonus_games和数据。
headersJSON 列表表头列表
Game Name字符串游戏名称
Round ID整数触发免费旋转的回合
Amount Type字符串游戏模式
Num Picks整数最初授予的选择数
Num of User Picks整数剩余的选择数
日期时间字符串游戏进行的服务器UTC时间
dataJSON 表中表奖励游戏的表中表