Welcome to Safecastbeat.
Safecastbeat is a beat which will periodically pull data from Safecast API.
This will specifically pull data every Period
defined and will use api call with since
parameter.
Example call may look following:
https://api.safecast.org/measurements.json?per_page=1000&since=2019-03-22%2B20%3A51%3A46
Above command will request any new data added to Safecast DB since date and time specified in URI. It can be mix of current and older data as measurements can be uploaded with delays.
Download and install appropriate package for your system. Check release page for latest packages.
You also can use Docker image docker pull radoondas/safecastbeat
To run Safecastbeat you have to define Period
for data pull. 1m or 2m should be sufficient.
period: 5m
Define the path to CA file which requires TLS call. One CA is provided in the repository. Feel free to use it.
./safecastbeat -c safecastbeat.yml -e
This is an example of visualisation for measurements.
If you want to build Safecastbeat from scratch, follow build documentation.