Saved Location Realtime and Forecast
A 3-step recipe with Tomorrow.io. We can help you get access.
Recipe · 3 steps
Saved Location Realtime and Forecast
with Tomorrow.io
Persist a location and chain realtime plus forecast retrieval against it.
- Create a reusable saved location resource from the supplied name and GeoJSON Point coordinates.
- Fetch the current weather conditions for the freshly created location using its locationId.
- Retrieve an hourly and daily forecast for the same saved location to pair current conditions with the road ahead.
What you'll need to have ready
- apikey: Tomorrow.io API key passed as the apikey query parameter.
- name: Human-readable name for the saved location.
- coordinates: GeoJSON Point coordinates as [lng, lat].
- units: Unit system for weather responses (metric or imperial).
- timesteps: Comma separated forecast timesteps (e.g. 1h,1d).
For your developer
Arazzo workflow tomorrow-io:saved-location-realtime-forecast, 3 operations: createLocation → getRealtimeWeather → getWeatherForecast. Specs on APIs.io.