question

antoniodeveloper avatar image
antoniodeveloper asked

Is it possible for an app client created in Unity to load all the Leaderboards created on the server?

Leaderboards and Statistics
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Andy avatar image
Andy answered

Take a look at the Player Data Management portion of our Client API: https://api.playfab.com/documentation/client#Player-Data-Management

If you look at GetLeaderboard in particular (https://api.playfab.com/documentation/client/method/GetLeaderboard) you'll see that Leaderboards are tied to player statistics. Getting all leaderboards is just a matter of calling the API for each statistic you track.

If, on the other hand, you're after an call to return a list of all created leaderboards, no, that doesn't exist.

3 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Andy avatar image Andy ♦♦ commented ·

As always, though, if you share some more detail about your scenario, I can provide a better answer.

1 Like 1 ·
antoniodeveloper avatar image antoniodeveloper commented ·

hello, the link do´not opening.

0 Likes 0 ·
Andy avatar image Andy ♦♦ antoniodeveloper commented ·

Whoops! Fixed the links. Thanks!

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.