OpenWeatherMap · Arazzo Workflow
OpenWeatherMap Historical Air Pollution Window
Version 1.0.0
Geocode a city, then fetch historical air pollution for a window and the current reading.
View Spec
View on GitHub
WeatherForecastClimateAir PollutionAir QualitySolarGeocodingHistoryMapsRoad RiskPublic APIsArazzoWorkflows
Provider
Workflows
historical-air-pollution-window
Resolve a city name, then return historical and current air pollution.
Calls direct geocoding to turn a city query into coordinates, then chains the latitude and longitude into the historical air pollution endpoint over a Unix time window and the current air pollution endpoint.
1
geocodeCity
getDirectGeocoding
Resolve the supplied city query into geographic coordinates, keeping the first and best match.
2
historicalAirPollution
getAirPollutionHistory
Fetch historical hourly air pollution at the geocoded coordinates across the supplied Unix start and end timestamps.
3
currentAirPollution
getCurrentAirPollution
Fetch the current air pollution reading at the same coordinates to compare against the historical series.
Source API Descriptions
openapi