Users
All about user's info
Last updated
All about user's info
Last updated
The User API serves the purpose of retrieving essential information about a user in the ZooGames API. It provides details such as the user's ZooGamesID, EVM addresses (primary, secondaries and mirror), their respective balances, the chain ID, the number of successful 2FA verifications, the creation time, and an optional avatar. This information can be used for user identification, account management, displaying user profiles, and tracking user activities within the gaming platform
GET
API_END_POINT_URL/API_KEY/userInfo/username/[ZOO_GAMES_ID]
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
{
"success": true,
"data": {
"username": "zoogametester",
"primaryAddress": "0x2B2A8B3683292442fACa52e9B6537Faaad0AE658",
"mirrorAddress": "0x224e0CE4F4132eAc88C145b6B294512056BbFE45",
"mirrorBalance": "55.55",
"chainId": 999,
"verify2FASuccessTimes": 3,
"createTime": 1657088981796,
"avatar": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gIoSUNDX1BST0ZJTEUAAQEAAAIYAAAAAAQwAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAAHRyWFlaAAABZAAAABRnWFlaAAABeAAAABRiWFlaAAABjAAAABRyVFJDAAABoAAAAChnVFJDAAABoAAAAChiVFJDAAABoAAAACh3dHB0AAAByAAAABRjcHJ0AAAB3AAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAFgAAAAcAHMAUgBHAEIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFhZWiAAAAAAAABvogAAOPUAAAOQWFlaIAAAAAAAAGKZAAC3hQAAGNpYWVogAAAAAAAAJKAAAA+EAAC2z3BhcmEAAAAAAAQAAAACZmYAAPK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0a6TogNm0xSEc5syf3ErakS/DsO0Sfme2SLrEpbVQUTQ2lo4YWjkxgb8FlBrRwAHsVUXbIY2bLQPki5REROpEREQhEREIURprUtv1PaYa6imYXuaOth2u1E7m0jjx581LoiEIiIhCIiIQiIiEIiIhCIiIQiIiEKL1DqG36btU1fXzsZsNJjjLu1K7k1o55PlxKIiEL//2Q=="
"isPlayPass": false, //created with Instant PlayPass or not
"createdFromRedeemCode": false, // This is optional key
}
}
{
"success": false,
"message": "error message",
"data" : {username}
}
GET
API_END_POINT_URL/API_KEY/userInfo/primary/[PRIMARY_ADDRESS]
{
"success": true,
"data": {
"username": "zoogametester",
"primaryAddress": "0x2B2A8B3683292442fACa52e9B6537Faaad0AE658",
"mirrorAddress": "0x224e0CE4F4132eAc88C145b6B294512056BbFE45",
"mirrorBalance": "55.55",
"chainId": 999,
"verify2FASuccessTimes": 3,
"createTime": 1657088981796,
"avatar": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gIoSUNDX1BST0ZJTEUAAQEAAAIYAAAAAAQwAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAAHRyWFlaAAABZAAAABRnWFlaAAABeAAAABRiWFlaAAABjAAAABRyVFJDAAABoAAAAChnVFJDAAABoAAAAChiVFJDAAABoAAAACh3dHB0AAAByAAAABRjcHJ0AAAB3AAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAFgAAAAcAHMAUgBHAEIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFhZWiAAAAAAAABvogAAOPUAAAOQWFlaIAAAA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6FLtKAa26QQd7YmF58zhdpG7gqp0Ry5F9ugt3uuCQVzei6FbHCQ6rq6upPMbYaPcM+9T1F0a6TogNm0xSEc5syf3ErakS/DsO0Sfme2SLrEpbVQUTQ2lo4YWjkxgb8FlBrRwAHsVUXbIY2bLQPki5REROpEREQhEREIURprUtv1PaYa6imYXuaOth2u1E7m0jjx581LoiEIiIhCIiIQiIiEIiIhCIiIQiIiEKL1DqG36btU1fXzsZsNJjjLu1K7k1o55PlxKIiEL//2Q=="
"isPlayPass": false, //created with Instant PlayPass or not
"createdFromRedeemCode": false, // This is optional key
}
}
{
"success": false,
"message": "error message",
"data" : {username}
}
GET
API_END_POINT_URL/API_KEY/secondary/[PRIMARY_ADDRESS or ZOO_GAMES_ID]
{
"success": true,
"data": [
{
"_id": "62c595905cc9847c7084fa4f",
"secondary": "0xBCeAF0453dE61B48CF0159749f192F5fc6a77298",
"primary": "0x5E3A8B3683292442fACa52e9B6537Faaad0AE576"
},
{
"_id": "631705be9ecaff218df6fb61",
"secondary": "0x8AC499c8E2f3CBc9C99034b6e2912149212bE770",
"primary": "0x5E3A8B3683292442fACa52e9B6537Faaad0AE576"
}
]
}
{
"success": false,
}
GET
API_END_POINT_URL/api/user/profile_pic/[ZOO_GAMES_ID]
If there have some image set. It will return base64 encoded image. No profile image or not found a user by ZOO_GAMES_ID will return an "Empty".
data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gIoSUNDX1BST0ZJTEUAAQEAAAIYAAAAAAQwAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAAHRyWFlaAAABZAAAABRnWFlaAAABeAAAABRiWFlaAAABjAAAABRyVFJDAAABoAAAAChnVFJDAAABoAAAAChiVFJDAA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Tx27XYygxz2o9tMaZQXyD5E0Ta26WUTO8mcDk+lVLwxPJbiOwtljBHiY7AUKEguE37t0o5Oe9BXl571OTjA7CvYR4aGQ/wDD3o07ScyS28RZ8pk8/lVs8aNbt4o+E8mgrJWjt/Ezksdooq5kW3ixK+/dhQpqjbmAgCagynDQqw7AGmtPNdOxLEDHCg8CpbpYGAaPHPeliK3CgHLsMlh5VbbsISKDdHyrMr54INF3EUhAVpGZe5zUKmPcMNkkdyKNHEDSy84HAqpO8kRsGnxbAzc0+S4ghkCKu4/LyqBr9WAVUwPSlGifBMxwCeaPbCSC5lkkICgj/KRXj2tu0pOSrdyKe84AxFjkdwKhhjYyDcTlvXzqMwhP7q2QEc57CohMXcu34B5VA77n5/ED2p+92tSvAIPPFEJOLsbTtXAHnXiXEjlxjtzmhYkbB5+3rRRZ1YlI85HxYqDCOZt6qZMDI7ChrrVbW0Efiy4d2CJGoyzMTgcD1PFV2oX11PrEGj20otnmgaZ5ym8xAEAEDzycitHpmlaVo7tKonku3BC3M6li4J3YB9M9h5UOQgy3eaJWz8CZxeqNKklWHUPedNmbst5C0efueP1q5h93uoQYZkmQdmjYMP0q4mktdRyHsmuAB8dtLGCCPvwax3UNjo+jvY3ejaStrqVxdJANpZEBP4gUBwRj8qmt0sOkAg/H+IPS6DMvwgHCrSeME5JwR2NeO4QYLDdVR1HqLxaNOkKH3mfEEGD3dzg .....
// Will show an "Empty" content
{
"success": false,
}
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
ZOO_GAMES_ID*
String
ZooGamesId
API_KEY*
String
Api Key
without_avatar
Boolean
true: To set "avatar" property as "null" to reduce the returning data
PRIMARY_ADDRESS*
String
User Primary Address
API_KEY*
String
Api Key
without_avatar
Boolean
true: To set "avatar" property as "null" to reduce the returning data
PRIMARY_ADDRESS or ZOO_GAMES_ID*
Address / String
ZooGamesId
API_KEY*
String
Api Key
ZOO_GAMES_ID*
String
ZooGamesId