Requesting measurements from sensor - Xweather Observe

Vaisala Xweather Observe API Reference

Document code
M212981EN
Revision
A
Language
English
Product
Xweather Observe
Document type
User guide

You can query the API to get measurements from one sensor.

Request

The following is a cURL example of making a request with GET.

curl -L -X GET 'https://api.eu.platform.xweather.com/measurements/:sensor_id' \
-H 'Accept: application/json' \
-H 'X-API-KEY: <API_KEY_VALUE>'
Table 1. Parameters
Parameter Mandatory Description Example
sensor_id Full device or sensor uniform resource name (URN) urn:dev:ops:16961-WXT530-S4131016
start_time The start time (inclusive) for the request 2023-03-01T00:00:00Z
end-time - The end time (exclusive) for the request 2023-03-01T12:00:00Z

Authorization

type: apiKey
name: X-API-KEY
in: header