API - Data Retrieval
How to retrieve data from the Whysor API
Whysor API - Device & Sensor Data
Overview
This document describes how to retrieve devices, sensors, and sensor measurements using the Whysor API.
The API allows users to:
- Retrieve devices they have access to
- Retrieve sensors belonging to devices
- Read the latest sensor values
- Read historical sensor measurements
All API requests require authentication.
Authentication
All requests require an authorization header.
Example:
Authorization: <token>
Content-Type: application/json