CitraClient.Weather (citra_client v0.3.0)

View Source

Generated operations for OpenAPI tag weather.

Summary

Functions

get_weather(opts \\ [])

Get Weather

Get current weather and forecast for specified coordinates.

Returns comprehensive weather data including:

  • Current weather conditions
  • Hourly forecast (next 48 hours)
  • Daily forecast (next 8 days)
  • Weather alerts (if any)

Data is cached for 10 minutes to improve performance and reduce API calls.

GET /weather

Options (passed via keyword list)

  • :lat (required) — Latitude coordinates
  • :lon (required) — Longitude coordinates
  • :units — Units of measurement