flexget.components.notify.notifiers.gotify module#

class flexget.components.notify.notifiers.gotify.GotifyNotifier[source]#

Bases: object

Send a Gotify notification.

Example:

notify:
  entries:
    via:
      - gotify:
          url: <GOTIFY_SERVER_URL>
          token: <GOTIFY_TOKEN>
          priority: <PRIORITY>

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

notify(title, message, config)[source]#

Send a Gotify notification.

schema = {'additionalProperties': False, 'properties': {'content_type': {'default': 'text/plain', 'enum': ['text/plain', 'text/markdown'], 'type': 'string'}, 'priority': {'default': 4, 'type': 'integer'}, 'token': {'type': 'string'}, 'url': {'format': 'url'}}, 'required': ['token', 'url'], 'type': 'object'}#
flexget.components.notify.notifiers.gotify.register_plugin()[source]#