Centarius API Documentation
  • Welcome To Centarius!
  • Let's get you registered!
  • Users & Leaderboards
    • New Users
    • Leaderboards - Saving Scores
    • Leaderboards - Retrieval
  • Revenue
    • Sharing Revenue Data
Powered by GitBook
On this page
  1. Users & Leaderboards

Leaderboards - Saving Scores

With contests being a defining feature of the Centarius platform, it is paramount to save your players' game scores using the API. Use this call whenever a unique player obtains a new score to be uploaded to the leaderboards on Centarius.

Request URL

POST https://www.centarius.app/enter-leaderboard/

Request Body

Name
Required
Type
Description

game_id

True

string

Your game's Centarius game ID.

userID

True

string

The unique identifier for the user that your game uses.

score

True

integer

The player's new score.

Response

Code
Type
Response

200

HttpResponse

Leaderboard entry saved successfully.

500

JsonResponse

{'error': Exception as str}

PreviousNew UsersNextLeaderboards - Retrieval

Last updated 1 year ago