Device Type¶
LocationGeoJSON¶
Attributes:
type: “Point”
coordinates: list[str]
Data¶
Attributes:
id: strData ID.device: strID of the device holding the data.variable: strName of the variable for the data.value: str or float or int or boolData value.group: strSeries for the data. Used for grouping different data values.unit: strUnit for the data value.location: LocationGeoJSONLocation for the data value.metadata: anyMetadata for the data value.time: dateTimestamp for the data value.created_at: dateTimestamp for the data value. Determined by the API.
DataQueryDefault¶
Attributes:
query: Enum[_DataQueryFirstLast]
qty: int
details: bool
ordination: “descending” or “ascending”
skip: int
DataQueryFirstLast¶
Attributes:
query: “last_item”, “last_value”, “last_location”, “last_insert”, “first_item”, “first_value”, “first_location”, “first_insert”
DataQuery¶
DataQuery = DataQueryDefault or DataQueryFirstLast