Differences

This shows you the differences between two versions of the page.

Link to this comparison view

api:leaderboards [2019/06/08 05:49] (current)
Line 1: Line 1:
 +====== /​leaderboards/​ ======
 +This path in the API provides a basic listing of the global leaderboards for the Launcher.
  
 +===== GET /​leaderboards/​global/​[limit]/​ =====
 +This call returns an array of [[api:​Leaderboard User Object]] from the global leaderboards with a specified limit. The maximum limit can be is 100 with the default being 30.
 +
 +===== GET /​leaderboards/​pack/​[pack name]/​[limit]/​ =====
 +This call returns an array of [[api:​Leaderboard User Object]] from the specified packs leaderboards with a specified limit. The maximum limit can be is 100 with the default being 30.
 +
 +===== GET /​leaderboards/​country/​[2 digit country code]/​[limit]/​ =====
 +This call returns an array of [[api:​Leaderboard User Object]] from the specified countries leaderboards with a specified limit. The maximum limit can be is 100 with the default being 30. The country code should be a 2 digit code according to [[http://​en.wikipedia.org/​wiki/​ISO_3166-1_alpha-2|ISO 3166-1 alpha-2]]
api/leaderboards.txt · Last modified: 2019/06/08 05:49 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0