Simple API's Documentation

/weather/record

Records local weather conditions.

Description:

Records weather conditions which can then be retrieved via /weather/current.

Sample:

Example #1 - Records the weather: Url: /weather/record?body={"timestamp": 1514764800000, "wind": {"mean_5s_mph": 1.4, "mean_1m_mph": 1.1, "direction": 90.0}}

Query: { "wind": { # Instant speed (~1s sampling) and others. Reported at 1s, 5s, 60s # intervals. "instant_mph": 4.2 "mean_5s_mph": 1.4 "mean_1m_mph": 1.1 "direction": 90.0 }

# Timestamp recording was taken. "timestamp_ms": 1514764800000 }

Response: { "status": "success" }