Infinite API

List of available routes:


/ping/

Ping the server.

Response:


/users/

/:user

Get the user with the specified name.

Response:


/server/

/games

Get all games.

Response:

/players

Get all players.

Response:


/games/

/:name

Get the game with the specified name.

Response:


/getPlayer/

/discord/:id

Get the player with the specified Discord ID.

Response:

/permid/:id

Get the player with the specified permission ID.

Response:


/getMyPermId/

/:discord

Get the permission ID of the player with the specified Discord ID.

Response: