SpaceAPI

Aus Wiki CCC Göttingen
Version vom 29. Mai 2014, 13:44 Uhr von SebastianG (Diskussion | Beiträge) (Category:Projekte)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

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:

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