Chest
Last updated
fetch('https://api.idosgames.com/api/{titleTemplateId}/{titleId}/Client/Chest/GetCommonChestReward', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
WebAppLink: 'https://example.com/?titleID=0',
UsageTime: 120,
ClientSessionTicket: 'valid-session-ticket',
EntityToken: 'valid-entity-token',
UserID: 'user-id'
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error)); https://api.idosgames.com/api/{titleTemplateId}/{titleId}/Client/Chest/GetRareChestReward {
"WebAppLink": "string",
"UsageTime": "int",
"ClientSessionTicket": "string",
"EntityToken": "string",
"UserID": "string"
} fetch('https://api.idosgames.com/api/{titleTemplateId}/{titleId}/Client/Chest/GetRareChestReward', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
WebAppLink: 'https://example.com/?titleID=0',
UsageTime: 120,
ClientSessionTicket: 'valid-session-ticket',
EntityToken: 'valid-entity-token',
UserID: 'user-id'
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error)); https://api.idosgames.com/api/{titleTemplateId}/{titleId}/Client/Chest/GetLegendaryChestReward {
"WebAppLink": "string",
"UsageTime": "int",
"ClientSessionTicket": "string",
"EntityToken": "string",
"UserID": "string"
} fetch('https://api.idosgames.com/api/{titleTemplateId}/{titleId}/Client/Chest/GetLegendaryChestReward', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
WebAppLink: 'https://example.com/?titleID=0',
UsageTime: 120,
ClientSessionTicket: 'valid-session-ticket',
EntityToken: 'valid-entity-token',
UserID: 'user-id'
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));