Player API
Premium Only
Last updated
Premium Only
Last updated
We provide an API for the creation, deletion and listing of players associated with a game.
To create a new player, you must send a POST
request to https://api.planetaryprocessing.io/api/players
with a JSON body containing the username and password of the new player.
Your request must also have your game's personal in the X-API-KEY
header.
This will return the Player ID in a JSON response:
To delete a player, you must send a DELETE
request to https://api.planetaryprocessing.io/api/players
with a JSON body containing the UUID of the player,.
Your request must also have your game's personal in the X-API-KEY
header.
To list players, simply call GET
on the https://api.planetaryprocessing.io/api/players/
endpoint with your in the X-API-KEY
header. It will return a JSON array of players like so: