ifttt_webhook
A library to call IFTTT’s webhooks and send events.
Installation
If available in Hex, the package can be installed
by adding ifttt_webhook
to your list of dependencies in mix.exs
:
def deps do
[
{:ifttt_webhook, "~> 0.1.0"}
]
end
Usage
Add the :ifttt_webhook
application in your mix.exs
file and configure the API key in your application’s config:
config :ifttt_webhook, api_key: "<your-api-key-goes-here>"
To send events call IftttWebhook.send_async/2
like this:
IftttWebhook.send_async("my-event", [13.0, 12.1, 42.1])
Further Documentation can be found at https://hexdocs.pm/ifttt_webhook.