spaceapi v0.1.1 SpaceApi.Space
A module to describe the status of a Space API-endpoint. The struct has just some elements which could be parsed from every version of the Space API. The whole JSON-Respone is stored in raw_json.
- space Name of the space
- logo URL to the space logo
- url URL to the space website
- location Tuple of the latitude and the longitude
- state Triple of the doorstate (Boolean), the last change timestamp (Integer) and an optional message (String)
- raw_json The response as a map
Summary
Functions
Returns the doorstate of a given Space as Boolean