flexget.components.notify.notifiers.pushover module#

class flexget.components.notify.notifiers.pushover.PushoverNotifier[source]#

Bases: object

Send a Pushover notification.

Example:

notify:
  entries:
    via:
      - pushover:
          user_key: <USER_KEY> (can also be a list of userkeys)
          token: <TOKEN>
          [device: <DEVICE_STRING>]
          [priority: <PRIORITY>]
          [url: <URL>]
          [url_title: <URL_TITLE>]
          [sound: <SOUND>]
          [retry]: <RETRY>]
          [expire]: <EXPIRE>]
          [callback]: <CALLBACK>]
          [html]: <HTML>]
notify(title, message, config)[source]#

Send a Pushover notification.

Parameters:
  • title (str) – the message’s title

  • message (str) – the message to send

  • config (dict) – The pushover config

schema = {'additionalProperties': False, 'properties': {'api_key': {'default': 'aPwSHwkLcNaavShxktBpgJH4bRWc3m', 'type': 'string'}, 'callback': {'type': 'string'}, 'device': {'oneOf': [{'items': {'title': 'single value', 'type': 'string'}, 'minItems': 1, 'title': 'multiple values', 'type': 'array', 'uniqueItems': False}, {'title': 'single value', 'type': 'string'}]}, 'expire': {'maximum': 86400, 'type': 'integer'}, 'html': {'type': 'boolean'}, 'priority': {'oneOf': [{'maximum': 2, 'minimum': -2, 'type': 'number'}, {'type': 'string'}]}, 'retry': {'minimum': 30, 'type': 'integer'}, 'sound': {'type': 'string'}, 'url': {'type': 'string'}, 'url_title': {'type': 'string'}, 'user_key': {'oneOf': [{'items': {'title': 'single value', 'type': 'string'}, 'minItems': 1, 'title': 'multiple values', 'type': 'array', 'uniqueItems': False}, {'title': 'single value', 'type': 'string'}]}}, 'required': ['user_key'], 'type': 'object'}#
flexget.components.notify.notifiers.pushover.register_plugin()[source]#