IFTTT
Interact with IFTTT.com
IFTTT
IFTTT
Website
Connect to IFTTT and first go to the webhook page: https://ifttt.com/maker_webhooks/
Hit the documentation button, your key appears on the first line:

Webhook

The driver enables you to create any action inside
1
import naas_drivers
2
event = "myevent"
3
key = "cl9U-VaeBu1**********"
4
data = { "value1": "Bryan", "value2": "Helmig", "value3": 27 }
5
result = naas_drivers.ifttt.connect(key).send(event, data)
Copied!

Example 1 - Post a simple Twitt

First, you need to create an event in IFTTT, then you can just copy paste this formula.
1
import naas_drivers
2
twitter_post = """Hello world, this is my first automated post
3
with @JupyterNaas @IFTTT driver🔥
4
"""
5
event = "NAME_OF_YOUR_EVENT"
6
key = "**********"
7
data = { "value1": twitter_post }
8
result = naas_drivers.ifttt.connect(key).send(event, data)
Copied!

Official documentation

IFTTT
IFTTT
Documentation