Get the list of all cards currently available in the game.
URL : https://api.litemint.com:9088/library/
Method : GET
Auth required : No
Permissions required : None
Code : 200 OK
Content example
{
"card_base_00001": {
"id": "card_base_00001",
"type": 1,
"name": "Overload I",
"icon": 0,
"points": [ 2, 0, 0, 0 ],
"boost": 0,
"dex": false,
"base": true
},
"card_base_00002": {
"id": "card_base_00002",
"type": 2,
"name": "Hellfire I",
"icon": 1,
"points": [ 0, 2, 0, 0 ],
"boost": 0,
"dex": false,
"base": true
}
}
- The result is returned as an object (i.e. not an array).
Generate and shuffle a playable deck based on a given list of cards.
URL : https://api.litemint.com:9088/getdeck/
Method : POST
Auth required : No
Permissions required : None
Data constraints
{
"deck": "[Array of card ids]"
}
Data examples
{
"deck": ["card_dex_00010", "card_dex_00052"]
}
Condition : Data provided is valid.
Code : 200 OK
Content example
[
"card_dex_00002",
"card_base_00011",
"card_base_00004",
"card_base_00003",
"card_base_00002"
]
- The returned deck is generated according to the current shuffle algorithm in the game.
Get the server stats
URL : https://api.litemint.com:9088/stats/
Method : GET
Auth required : No
Permissions required : None
Code : 200 OK
Content example
{
"totalbattles":1112265,
"totalplayers":41132
}
- The result is returned as an object.
Get the list of all cards currently available in the shop including Stellar DEX issuer and code, unlock conditions and price (CREDIT) if applicable.
URL : https://api.litemint.com:9088/shop/
Method : GET
Auth required : No
Permissions required : None
Code : 200 OK
Content example
[
{
"card": "card_dex_00009",
"wins": 1,
"coins": 155,
"properties": {
"id": "card_dex_00009",
"type": 4,
"name": "Biohazard",
"icon": 3,
"points": [ 0, 15, 0, 0 ],
"boost": 0,
"dex": true
},
"code": "CARD00009",
"issuer": "GBAKUWF2HTJ325PH6VATZQ3UNTK2AGTATR43U52WQCYJ25JNSCF5OFUN"
},
{
"card": "card_dex_00060",
"properties": {
"id": "card_dex_00060",
"type": 4,
"name": "Brawler",
"icon": 58,
"points": [ 0, 0, 0, 0 ],
"boost": 0,
"dex": true,
"legendary": true,
"unlimited": true,
"passive": true,
"desc": "Replace your first\nRepair with\nBrawl. Passive."
},
"code": "CARD00060",
"issuer": "GBAKUWF2HTJ325PH6VATZQ3UNTK2AGTATR43U52WQCYJ25JNSCF5OFUN"
}
]
- The result is returned as an array.
Get the current leaderboards (daily and seasonal) along with KDR stats for each player.
URL : https://api.litemint.com:9088/leaderboard/
Method : GET
Auth required : No
Permissions required : None
Code : 200 OK
Content example
{
"ath": [
{
"id": "user1*litemint.com",
"battleid": "bdid1",
"name": "Player1",
"backid": 8,
"score": 125,
"kdr": 5.849074074074074,
"legend": 4089
}
],
"top": [
{
"name": "Player2",
"battleid": "bdid2",
"backid": 13,
"score": "29",
"address": "GA7A...QQWH"
}
],
"count": 49880,
"countall": "49880"
}
- The result is returned as an object.