playerUniqueId
value to the current logged-in user. This is how your player will be identified and tracked at Gameball, hence make sure to send a permenant consistent id across a user’s lifetime. Could be database ID, random string, email or anything that uniquely identifies the player.playerUniqueId,
optional player attributes can be sent to enrich the player's profile at Gameball. You can send non, all, or selected attributes to Gameball depending on how you would like to enrich your player's profile.playerUniqueId
. It is highly recommended to have the unique ID as an identifier that would NEVER be changed. If this unique ID changes for a given player, you risk losing all original data for that player and hence losing their points and rewards on Gameball. Accordingly, it is NOT recommended to use email address or mobile number as the unique ID as both can be changed by the user at anytime.APIKey
lang
"en"
, "fr"
.playerUniqueId
playerAttributes
ObjectdisplayName
firstName
lastName
gender
email
dateOfBirth
"1980-09-19T00:00:00.000Z"
joinDate
"2019-09-19T21:06:29.158Z"
tags
"VIP,Platinum"
community
custom
{"class" : "E2022", "weight" : 78}
lang
variable in the code snippet.