ajLb REST icon

ajLb REST -----

Access leaderboards via a REST api



ajLb-REST
ajLb-REST is an addon for ajLeaderboards that allows you to fetch leaderboards via a REST api


[​IMG]
Currently there is only one endpoint.

/<board>/<type>/<position>

Example response:
GET /statistic_time_played/hourly/1​
Code (Text):
{
  "playerName": "ajgeiss0702",
  "playerDisplayName": "&cpre&r ajgeiss0702",
  "playerPrefix": "&cpre&r ",
  "playerSuffix": "",
  "playerUUID": "4b8881a9-ea3c-31f6-ad69-7707f5f749ef",
  "position": 1,
  "board": "statistic_time_played",
  "type": "hourly",
  "score": 48,
  "scorePretty": "48",
  "scoreFormatted": "48",
  "scoreTime": "48s"
}

[​IMG]
By default, the plugin will start a http server on port 8296, but you can change that in the config

You can also only allow certain boards to be fetched via the api, by adding them to only-allow in the config



[​IMG]
Use code AJG0702 to get 50% off! (new clients only)



[​IMG]
If you have any questions, suggestions, or issues with the plugin, please contact me on any of the below methods:
Discord
Spigot PM
Spigot discussion section

(Discord is preferred and the quickest way to get a response)


DO NOT REQUEST SUPPORT THROUGH REVIEWS!

It is much easier (and usually faster) to contact me for support in one of the above areas. Discord is the fastest way to get support because I get instant mobile notifications.



Some icons made by authors from www.flaticon.com
Resource Information
Author:
----------
Total Downloads: 103
First Release: Apr 25, 2022
Last Update: Apr 25, 2022
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings