Skip to content

v0.2.0

Choose a tag to compare

@EetuPelkonen EetuPelkonen released this 03 Sep 08:50
· 11 commits to main since this release

Adds three endpoints to the client.

  • observation_latest(location) — latest measurements from the nearest reporting weather station, including its name, distance and elevation. The API returns stations nearest first.
  • forecast_minutely(location) — one-minute precipitation rates for the next hour, radar-based in Europe and continental USA.
  • usage_month(month) — the account's request total for a month with a per-day breakdown, plus hits_on(date) for a single day.

Also hardens the location argument: only coordinates or a numeric location id are accepted, so a location can no longer alter the request path or query parameters.