SpaceAPI support #31

eastein opened this Issue Dec 17, 2011 · 2 comments


None yet
1 participant

eastein commented Dec 17, 2011


The SpaceAPI is a JSON REST HTTP API for providing metadata about hackerspaces.

What To Implement

Offer multiple options; there's no reason that one system can't have more than one SpaceAPI endpoint. A spaceapi stanza shall have the following fields:

  • metadata: The dictionary of data that the SpaceAPI specifies, except for the open, api, events, lastchange, and status fields.
  • cameras: A list of tuples of camname, level. Each camera is recognized as being active if the ratio is at least level.
  • needed_activity: How many cameras must be considered active before the space is considered open.

eastein commented Dec 17, 2011

Check TODOs in above commit before closing - there's stuff to do.

@eastein eastein added a commit that referenced this issue Dec 17, 2011

@eastein eastein #31 don't wrap successful spaceapi result in external dict like the r…
…est of the JSON APIs, handle 404s etc better.

@eastein eastein added a commit that referenced this issue Dec 18, 2011

@eastein eastein #31 include 'status' field. 668977b

eastein commented Dec 18, 2011

Calling this done - it works!

There's a running endpoint for PS:One at

eastein closed this Dec 18, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment