WeatherTrigger API

Multiple Queries

Any single HTTP request to the WeatherTrigger API can contain up to 3 separate element queries. This means you can have multiple queries within a single HTTP request. A single HTTP request is defined only by ‘Location’.

Create separate ‘queries’ within a single request with the Boolean operators “and” “or”

Example 1: For London is it raining and is the temperature less than 5ᵒc?
/api/trigger/51.50,-0.12/current weather eq rain and current temperature lt 5
Example 2: For London is it snowing and is it forecast to snow tomorrow?
/api/trigger/51.50,-0.12/current weather eq snow and forecast tomorrow weather eq anysnow
Example 3: For London is it raining or is it snowing and is it forecast to snow tomorrow?
/api/trigger/51.50,-0.12/current weather eq rain or current weather eq snow and forecast tomorrow eq anysnow

For more help to build your request, go to Request Builder Page.