The Temperature element is defined within the query using the text “temperature” or “temp”. The Temperature element can be used for the following ‘Data Types’;
When using the Temperature element within the query the following ‘Operators’, ‘Values’ and ‘Units’ can be applied;
Operator
Equal - "eq"
Not Equal - "not"
Greater Than - "gt"
Less Than - "lt"
Greater Than or equal - "gteq"
Less Than or equal - "lteq"
Unit
Celsius "c" (default)
Fahrenheit "f"
Example 1: For Toronto, tomorrow will the temperature be greater
than 20 degrees Celcius?
api/Trigger/43.63,-79.4/forecast tomorrow temperature gt 20
Example 2: For Paris, tomorrow will the temperature be greater
than 68 degrees Fahrenheit?
api/Trigger/48.92,2.36/forecast tomorrow temperature gt 68 f