Expand description
API client for https://sensor.community/
Based on https://github.com/opendata-stuttgart/meta/wiki/EN-APIs and https://api-sensor-community.bessarabov.com/
Hosted at https://codeberg.org/FedericoCeratto/rust-sensor-community-client
Released under GPL-3.0
sensor.community recommends providing a contact point e.g. an email address when running queries
Structs§
- Location
- Location of a measurement station
- Sample
- An environmental sample from one measurement station fetched from the API. It can contain values from multiple onboard sensors.
- Sample
Upload - An environmental sample from one measurement station ready for upload. It can contain values from multiple onboard sensors.
- Sensor
- Description of a sensor
- Sensor
Data Value - A datapoint from a sensor
- Sensor
Type - id, manufacturer and name of a sensor
Enums§
Functions§
- fetch_
batch - Fetch recent data in large batches.
- fetch_
by_ query - Fetch sensor data using a query.
- fetch_
by_ sensor - Fetch all measurements of the last 5 minutes for one sensor
The
API-ID
can be found by clicking on your sensor on the map. This is not thechipID
. - upload
- Upload sensor readings from a measurement station.