ifttt
#
Description#
This plugin allows you to interact with the IFTTT maker API to programmatically trigger your own IFTTT hooks from Platypush - e.g. send a tweet or a Facebook post, create a Todoist item or a Trello task, trigger events on your mobile device, or run any action not natively supported by Platypush but available on your IFTTT configuration.
An example:
# Trigger an IFTTT event named "at_home"
{
"type": "request",
"action": "ifttt.trigger_event",
"args": {
"event_name": "at_home"
}
}
Configuration#
ifttt:
# [Required]
# Your IFTTT Maker API key. Log in to IFTTT and get your key from
# `here <https://ifttt.com/maker_webhooks>`_. Once you've got your key, you can start creating IFTTT rules
# using the Webhooks channel.
ifttt_key:
Actions#
Module reference#
- class platypush.plugins.ifttt.IftttPlugin(ifttt_key, **kwargs)[source]#
Bases:
Plugin
This plugin allows you to interact with the IFTTT maker API to programmatically trigger your own IFTTT hooks from Platypush - e.g. send a tweet or a Facebook post, create a Todoist item or a Trello task, trigger events on your mobile device, or run any action not natively supported by Platypush but available on your IFTTT configuration.
An example:
# Trigger an IFTTT event named "at_home" { "type": "request", "action": "ifttt.trigger_event", "args": { "event_name": "at_home" } }