capabilities.work

Locate And Report Current Weather

A 3-step recipe with OpenWeatherMap. We can help you get access.

Recipe · 3 steps

Locate And Report Current Weather

Resolve a city name to coordinates, then return current weather and a five day forecast.

  1. Resolve the supplied city query into geographic coordinates, keeping the first and best match.
  2. Fetch current weather at the geocoded coordinates, including temperature, wind, humidity, and a brief weather condition.
  3. Fetch the five day three hour forecast at the same coordinates to round out the current snapshot with near-term predictions.
What you'll need to have ready
  • q: City name, optionally with state and ISO country codes, comma-separated.
  • limit: Maximum number of geocoding matches to return (1 to 5).
  • units: Units of measurement (standard, metric, or imperial).
  • lang: Localization language code for weather condition text.
  • appid: OpenWeather API key.
For your developer

Arazzo workflow openweathermap:locate-and-report-current-weather, 3 operations: getDirectGeocoding → getCurrentWeather → getForecastFiveDay. Specs on APIs.io.