ClimaCell Post Alerts

ClimaCell - Post Alerts

### Create an Alert Creates a new Alert with the following information: * ```name``` - Alert Name * ```location_name``` - Location name for which the alert pertains (location has to be created earlier) * ```notice``` - Prior notice in seconds * ```conditions``` - logical expression defining a weather event such as: rain with intensity of more than 1 mm/hr. Several expressions can be concatenated with ???or??? logical operator. An alert will trigger for it if any of its contained conditions are met. ORs can contain any number of conditions. NOTE:??? AND condition ??? coming soon ### In addition to the format below, this is an example with an "OR" conditional statement: ``` { "name": "alert with or", "location_name": "your-location-name", "notice": 3600, "conditions": [ { "or": [ { "parameter": "Rain", "value": 0.15, "operator": "lt" }, { "parameter": "Temperature", "value": 25, "operator": "lt" } ] } ], "groups": [ { "name": "your-group-name", "delivery": { "sms": true, "email": false } } ], "webhooks": [507f1f77bcf86cd799439011] } ``` ### In addition to the format below, this is an example with an "AND" conditional statement: ``` { "name": "alert with AND conditions", "location_name": "your-location-name", "notice": 3600, "conditions": [ { "parameter": "Rain", "value": 0.15, "operator": "gt" }, { "parameter": "Temperature", "value": 40, "operator": "lt" } ], "groups": [ { "name": "your-group-name", "delivery": { "sms": true, "email": false } } ], "webhooks": [507f1f77bcf86cd799439011] } ```

Posted on:

2018-08-28

API Description

Provider

ClimaCell

decription

ClimaCell provides the most accurate weather data in the world by integrating proprietary data extracted from wireless networks and other new sensing technologies with data from traditional sensors. With 90% correlation to ground truth (vs. 50% using radar), it’s the best you can get for your enterprise.

Curl command through Streamdata.io

curl -v "https://streamdata.motwin.net/http://api2.climacell.co/v2/alerts?X-Sd-Token={streamdata_token}"



Return to Main Page



Submit Your API

Join the gallery to find out how much you can save with Streamdata.io.