Slugmoon Warp API
warning
Advanced users only!
Slugmoon Warp has a API that was intended to be used for the frontend of Slugmoon Warp, but you can use it for your own projects.
API Endpoints
At this moment, the API has 1 endpoint:
- api/game-info/(gameId): This endpoint returns information about the game you are trying to join.
-
Parameters:
gameId: The ID of the game you want to get information about.
-
Method: GET
-
Example:
-
Response: A JSON object containing the game information.
- Example:
{
"gameId": 123456789,
"serverId": 987654321,
"name": "My Game",
"description": "This is a test game.",
"creator": {
"id": 123456789,
"name": "Test Creator",
"type": "User", // or "Group"
"isRNVAccount": false,
"hasVerifiedBadge": false
},
"playing": 0,
"visits": 3505,
"iconUrl": "https://tr.rbxcdn.com/180DAY-7d82271a5ba86e4e1d0301bcab3d7d2b/512/512/Image/Png/noFilter"
}
- Example:
-