HTTP

Send a GET request to an endpoint and provide the result to this bot.

Options

Counter allows you to specify URL of an endpoint it's going to receive answer from, as well as specifying response lifetime (cache) in seconds. Data path is a path to get the desired value when the response's content type is JSONarrow-up-right, the syntax is similar to one used by JS to access properties and array items.

For more information on how to use this counter, refer to More on complex counters.

Example usage

You can discover more APIs to use herearrow-up-right.

Air quality endpoint using IQAirarrow-up-right (free, api key after signing up).

Last updated