flexget.components.notify.notifiers.pushbullet module#

class flexget.components.notify.notifiers.pushbullet.PushbulletNotifier[source]#

Bases: object

Send a Pushbullet notification.

Example:

notify:
  entries:
    via:
      pushbullet:
        apikey: <API_KEY>
        [device: <DEVICE_IDEN> (can also be a list of device ids, or don't specify any ids to send to all devices)]
        [email: <EMAIL_ADDRESS> (can also be a list of user email addresses)]
        [channel: <CHANNEL_TAG> (you can only specify device / email or channel tag, cannot use both)]

Configuration parameters are also supported from entries (eg. through set).

static send_push(api_key, title, body, url=None, destination=None, destination_type=None)[source]#
notify(title, message, config)[source]#

Send a Pushbullet notification.

schema = {'additionalProperties': False, 'error_oneOf': 'One (and only one) of `email`, `device` or `channel` are allowed.', 'oneOf': [{'required': ['device']}, {'required': ['channel']}, {'required': ['email']}, {'not': {'anyOf': [{'required': ['device']}, {'required': ['channel']}, {'required': ['email']}]}}], 'properties': {'api_key': {'oneOf': [{'items': {'title': 'single value', 'type': 'string'}, 'minItems': 1, 'title': 'multiple values', 'type': 'array', 'uniqueItems': False}, {'title': 'single value', 'type': 'string'}]}, 'channel': {'type': 'string'}, 'device': {'oneOf': [{'items': {'title': 'single value', 'type': 'string'}, 'minItems': 1, 'title': 'multiple values', 'type': 'array', 'uniqueItems': False}, {'title': 'single value', 'type': 'string'}]}, 'email': {'oneOf': [{'items': {'format': 'email', 'title': 'single value', 'type': 'string'}, 'minItems': 1, 'title': 'multiple values', 'type': 'array', 'uniqueItems': False}, {'format': 'email', 'title': 'single value', 'type': 'string'}]}, 'file_template': {'type': 'string'}, 'url': {'type': 'string'}}, 'required': ['api_key'], 'type': 'object'}#
flexget.components.notify.notifiers.pushbullet.register_plugin()[source]#