Skip to main content
Version: 5.7.0

GetAttributes

Retrieve the user attributes.

ServiceOperation
playerStateGET_ATTRIBUTES

Usage

http://localhost:3000
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.PlayerStateService.GetAttributes(successCallback, failureCallback);
JSON Response
{
"data": {
"attributes": {
"avatarId": "123",
"validatedContactEmail": "bitheads@gmail.com",
"address": "1309 Carling Ave.",
"numberOfGamePlayed": "2"
}
},
"status": 200
}