Documentation

Welcome to the SpleefLeague API Documentation. The available API functions are:

Notes

There is a currently a bug where missing arenas are not being displayed. I will fix this when I get a chance.
For the time being usernames are case sensitive.

Player stats

The player's stats can be fetched using the following urls. For searching by username (Case Sensitive):

http://api.spleefleague.com/stats/name/{username}

And for searching by uuid:

http://api.spleefleague.com/stats/uuid/{uuid}

For example, a request to http://api.spleefleague.com/stats/name/Sinsie will give the following output:

Staff list

The staff list can be fetched using the following url:

http://api.spleefleague.com/staff

Which results in an output that looks like this:

Rank list

The rank list can be fetched using the following url:

http://api.spleefleague.com/ranks

Which results in an output that looks like this:

Leaderboards

The leaderboards can be fetched using the following url schemes:

http://api.spleefleague.com/leaderboard/{game}[/page]

http://api.spleefleague.com/leaderboard/{game}/player/{username/id}

Valid game names are:

Snowspleef: spleef|snowspleef|ss|superspleef

Superjump: jump|superjump|sj

The /leaderboard/{game}/ page shows the first 100 results on the leaderboard. In order to get the next pages use the /leaderboard/{game}/{page} endpoint, where page 2 will show the players from 101-200. For example, to get the players from position 201-300 in superjump, use: /leaderboard/superjump/3 which gives the following output:

If you want to see where you stand in the leaderboard you can use the player centering url: /leaderboard/{game}/player/{username/id} For example, to get the players around you on the leaderboard of spleef use: /leaderboard/spleef/player/Sinsie Which gives the following output: