Crate sensor_community

source ·
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 of a measurement station
  • An environmental sample from one measurement station fetched from the API. It can contain values from multiple onboard sensors.
  • An environmental sample from one measurement station ready for upload. It can contain values from multiple onboard sensors.
  • Description of a sensor
  • A datapoint from a sensor
  • id, manufacturer and name of a sensor

Enums§

Functions§

  • Fetch recent data in large batches.
  • Fetch sensor data using a query.
  • 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 the chipID.
  • Upload sensor readings from a measurement station.