SpaceAPI: Unterschied zwischen den Versionen

Aus Wiki CCC Göttingen
Wechseln zu: Navigation, Suche
K (Category:Projekte)
 
Zeile 21: Zeile 21:
  
 
     wget -q -O - --post-data='key=PASS&open=yes&status=Free+Pizza' http://cccgoe.de/spaceapi.php
 
     wget -q -O - --post-data='key=PASS&open=yes&status=Free+Pizza' http://cccgoe.de/spaceapi.php
 +
 +
[[Category:Projekte]]

Aktuelle Version vom 29. Mai 2014, 12:44 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:

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