flexget.components.notify.notifiers.ifttt module#

class flexget.components.notify.notifiers.ifttt.IFTTTNotifier[source]#

Bases: object

Push the notification to an IFTTT webhook.

Configuration options

Option

Description

event

The event endpoint to trigger (required)

keys

List of auth keys to send the notification to. (required)

Config basic example:

notify:
  task:
    via:
      - ifttt:
          event: download_added
          keys:
              - deadebeef123
notify(title, message, config)[source]#

Send notification to ifttt webhook.

The notification will be sent to https://maker.ifttt.com/trigger/{event}/with/key/{key}’ with the values for the config, with a json body setting ‘value1’ to the message title, and ‘value2’ to the message body.

If multiple keys are provided the event will be triggered for all of them.

Parameters:
  • message (str) – message body

  • title (str) – message subject

  • config (dict) – plugin config

prepare_config(config)[source]#
schema = {'additionalProperties': False, 'properties': {'event': {'type': 'string'}, 'keys': {'oneOf': [{'items': {'title': 'single value', 'type': 'string'}, 'minItems': 1, 'title': 'multiple values', 'type': 'array', 'uniqueItems': False}, {'title': 'single value', 'type': 'string'}]}}, 'required': ['event', 'keys'], 'type': 'object'}#
flexget.components.notify.notifiers.ifttt.register_plugin()[source]#