Users Status
Track and retrieve the status of all players in your game
Last updated
Track and retrieve the status of all players in your game
Last updated
ZooGames provides a status feature that allows you to update and track the status of players in your game. With this functionality, you have the flexibility to monitor and display the real-time status of players to enhance the gaming experience. This feature can be seamlessly integrated into your game, your website or your mobile application and will be also visible on the Zoo.Games platform.
Once the "isPlaying" parameter is set to "true", the system will automatically switch the player's status to "Offline" after 30 minutes of inactivity. It is recommended to update the player status every 10 minutes to keep it up to date.
Conversely, when the "isPlaying" parameter is set to "false", the offline status will be reflected in the system after a delay of 3 minutes. This ensures that the status accurately represents the player's online or offline presence.
Optionally, you can add a note while setting up the player status. This note will provide an extra epic experience for your players. Here are some note examples:
Mastering the art of virtual sword fighting!"
"Embarking on an epic quest to save the kingdom."
"Exploring uncharted territories in search of hidden treasures."
"Unleashing magical powers to vanquish foes."
etc.
GET
API_END_POINT_URL/api/analytics
Name | Type | Description |
---|---|---|
We recommended you to use gameName as the Game ID you have registered to able to detect by our system to show status of Online/Offline on Zoo.games
The payload cannot exceed 50kb Usernames and game names must be unique records. Inactive records will be deleted after 1 year.
GET
API_END_POINT_URL/api/analytics?gameName=&isOnline=true
If no query is sent, the system will return all existing records on ZooGames.
Name | Type | Description |
---|---|---|
username*
String
ZooGamesID or any string reference
gameName*
String
You game's name or any string as a reference * Recommended to use gameName as a Game ID that you have registred on Zoo.games
gameVersion
String
Can be any string like V.1.2
gameAddress
Address
Your registered game address
isPlaying
Boolean
Online or Offline status
note
String
A remark
gameName
String
the game name or stat name for retrieval
isOnline
boolean
Display only online or offline users.