How does the Spots API work?
This page is dedicated to our API, which handles requests such as requesting the all spots and creating them.
An API allows people to make their own applications which interact with others. In our case, we can request all spots in a .json format which they we can use in Booket. This is extremely useful for programmers but doesn't offer much to standard users.
Our API responds with .json files. Accessing the Template API goes trough api.netwerkadf.eu/booket/spots/.
You are required to use POST. The API also expects the api-key and action as form-data.
These two are always required. Hover over any key and variables for information.
{
"api-key": "API key",
"action": {
"help": "Show you basic help",
"ping": "pongs",
//Requestable data | THESE DON'T REQUIRE ANY EXTRA PARAMETERS!
"getSpots": "Gets all spot data.",
//Insert commands.
"create": "Create a spot | unusable by others",
},
//Hover to check which actions require these vars
"name": "string",
"isroom": "bool",
"info": "string"
}