capabilities.work

Realtime Snapshot then Timelines Deep Dive

A 2-step recipe with Tomorrow.io. We can help you get access.

Recipe · 2 steps

Realtime Snapshot then Timelines Deep Dive

Snapshot current conditions, then query a detailed timeline for the same point.

  1. Capture the current conditions for the location as a baseline snapshot.
  2. Issue an advanced timelines request for the configured fields and window over the same location.
What you'll need to have ready
  • apikey: Tomorrow.io API key passed as the apikey query parameter.
  • location: Either 'lat,lng' or a Tomorrow.io locationId.
  • fields: Data layer field names to retrieve in the timeline.
  • timesteps: Timesteps for the timeline (e.g. ['1h','1d']).
  • startTime: ISO-8601 start of the timeline window.
  • endTime: ISO-8601 end of the timeline window.
  • units: Unit system (metric or imperial).
For your developer

Arazzo workflow tomorrow-io:realtime-then-timelines-deep-dive, 2 operations: getRealtimeWeather → postTimelines. Specs on APIs.io.