v24
Powered By GitBook
Get Public Ranks of a List of Users
1
<void> leaderboard.getRanks(<Array> public_ids, <Function> success, <Function> failure);
Copied!
where:
    public_ids is an Array of users public IDs.
“success” callback is passed array of rank objects.
Maximum 50 entries are returned.

Response

1
[
2
{
3
"public_id": <public id>,
4
"rank": <rank>,
5
"name": <name>,
6
"value": <score>,
7
"level": <level>,
8
"public_data": <public data>
9
},
10
{
11
"public_id": <public id>,
12
"rank": <rank>,
13
"name": <name>,
14
"value": <score>,
15
"level": <level>,
16
"public_data": <public data>
17
}
18
...
19
]
Copied!
Last modified 1yr ago
Copy link
Contents
Response