question

dragonfoundry avatar image
dragonfoundry asked

Server.GetLeaderboard

The client GetLeaderboard command has a limit of 100 entries. Is the Server call limited the same way? The API reference doesn't specify a limit, and has the number of entries as a required field.

(most likely, we won't do this as a full-server pull, and instead resort to pulling that data per player after each game, as we only need it for the top 1% or so of players, but it'd be good to know anyway)

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

·
brendan avatar image
brendan answered

Yes, the Server API call is also limited to 100 entries, max. Since all statistic updates also generate PlayStream events though, one way you could collect all the entries for local analysis (to get the top 1%) would be via the PlayStream->Event Archive export option.

10 |1200

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

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.