Space-API (https://spaceapi.io/) related codes and files
https://open-lab.at
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
11 months ago | |
---|---|---|
.gitignore | 11 months ago | |
LICENSE.md | 11 months ago | |
README.md | 11 months ago | |
openState | 11 months ago | |
spaceapi.php | 11 months ago | |
update_open_state.php | 11 months ago |
README.md
Open-Lab Vorarlbergs Space API Interface
This is the Open-Labs Vorarlbergs implementation for the Spaceapi.
Goals
- Provide an endpoint to return a valid spaceapi.json file
- Provide an endpoint to update the json file
- Minimal setup installation
- Easy to use behind a firewall and with minimal tools on the client side
Installation
- Upload the files to a webspace of your choice
- Create a file named
authorization
in the same directory - Create a secret you can put into the
authorization
-file
Updating the open state
Example to update the open state
curl -X POST -d 'open=true' -d 'authorization={your authorization string here}' {url to update_open_state.php}