🌦️

weather

seadog

Get weather data from OpenWeatherMap

v0.4.0 Public
Fetch current weather conditions and multi-day forecasts for any location using the OpenWeatherMap API. Supports units selection. Requires OPENWEATHERMAP_API_KEY.

Interface

Exports
seadog:weather/weather@0.4.0
get-current(locationstring, unitsstring)
get-forecast(locationstring, unitsstring, daysstring)
Imports
wasi:io/poll@0.2.6
wasi:io/error@0.2.6
wasi:io/streams@0.2.6
wasi:http/types@0.2.4
wasi:http/outgoing-handler@0.2.4
wasi:cli/environment@0.2.6
wasi:cli/exit@0.2.6
wasi:cli/stderr@0.2.6