Let's get you registered!
The first step to using the Centarius API is registering your game on our system. This is very simple, and only requires one API call. Please ensure you call this only once, and not at initialization on your game code. It is best done via terminal or a tool like Postman, as you will never need to run this again. The call will output a game ID. This is unique to your game, and will be used in every API call in game code. It must be secret, as it can be used to manipulate the API calls.
Request URL
POST https://www.centarius.app/add-game/Request Body
Name
Required
Type
Description
name
True
string
The name of your game.
Response
Code
Type
Response
200
JsonResponse
{"game_id" : your_id}
500
JsonResponse
{'error': Exception as str}
Last updated