Skip to content
Artur Balanuta edited this page Feb 7, 2020 · 5 revisions

OpenChirp provides a REST interface for managing devices and their meta information. You can either use the REST API by authenticating with OAuth2 or by using BasicAuth with a generated user or device token.

Quick Links:

Example cURL call:

curl --user <UserName>:<Token> -G "https://api.openchirp.io/apiv1/device/<DeviceID>/transducer/<TransducerName>"

Example TimeSeries Query:

curl --user <UserName>:<Token> -G "https://api.openchirp.io/apiv1/device/<DeviceID>/transducer/<TransducerName>" --data-urlencode "timeseries" --data-urlencode "stime=now() - 1w"