capabilities.work

Travel Briefing

A 5-step recipe with WeatherAPI. We can help you get access.

Recipe · 5 steps

Travel Briefing

Resolve a destination and assemble current, forecast, astronomy, and alerts.

  1. Resolve the destination query into the best matching location.
  2. Fetch current conditions with air quality for the destination.
  3. Fetch a multi-day forecast for the destination with pollen and alerts enabled.
  4. Add sun and moon detail for the destination on the arrival date.
  5. Pull any active government weather alerts for the destination.
What you'll need to have ready
  • query: Destination city name, postcode, or coordinates to search for.
  • days: Number of forecast days to return (1-14, plan dependent).
  • arrivalDate: Arrival date in yyyy-MM-dd format for the astronomy lookup.
For your developer

Arazzo workflow weatherapi:travel-briefing, 5 operations: searchLocations → getCurrentWeather → getForecast → getAstronomy → getAlerts. Specs on APIs.io.