SpaceAPI: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 12: | Zeile 12: | ||
;key | ;key | ||
: super secret admin root overrule magic password | : super secret admin root overrule magic password (ask defnull) | ||
;open | ;open | ||
: Either `yes` or `no` | : Either `yes` or `no` |
Version vom 29. August 2012, 19:32 Uhr
The HackerSpace SpaceAPI proposes a unified syntax to publish information about a hackerspace for consumption by javascript widgets, mobile apps and other scripts or programs. The API is flexible, and allows for custom extensions.
Links:
* http://openspace.slopjong.de * http://wilco.baanhofman.nl/station/spaces.html * http://hackerspaces.me/wall
Our SpaceAPI URL is: http://cccgoe.de/spaceapi.php
To change the status, send a POST request with the following values:
- key
- super secret admin root overrule magic password (ask defnull)
- open
- Either `yes` or `no`
- status
- A freetext description of the space status, ie `Members only`, `Open Chaos` or `Free Pizza`
Example:
wget -q -O - --post-data='key=PASS&open=yes&status=Free+Pizza' http://cccgoe.de/spaceapi.php