Leaderboards - Retrieval
You might need to retrieve saved leaderboards of your game from Centarius for display in your game to your players. Use this call to get a JSON
of all your saved leaderboard entries.
Request URL
Request Body
Name
Required
Type
Description
game_id
True
string
Your game's Centarius game ID.
Response
Code
Type
Response
200
JsonResponse
[...{"game_id": your_id, "userID": a_user_id, "score": saved_score}...]
500
JsonResponse
{'error': Exception as str}
Last updated