SpaceAPI: Unterschied zwischen den Versionen

Aus Wiki CCC Göttingen
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 3: Zeile 3:
Links:
Links:


  * http://openspace.slopjong.de
* http://openspace.slopjong.de
  * http://wilco.baanhofman.nl/station/spaces.html
* http://wilco.baanhofman.nl/station/spaces.html
  * http://hackerspaces.me/wall
* http://hackerspaces.me/wall


Our SpaceAPI URL is: http://cccgoe.de/spaceapi.php
'''Our SpaceAPI URL is: http://cccgoe.de/spaceapi.php'''


To change the status, send a POST request with the following values:
To change the status, send a POST request with the following values:

Version vom 4. März 2013, 20:55 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