Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Add Apprise support as a vendor #601

Open
comnam90 opened this issue Feb 8, 2021 · 0 comments
Open

Enhancement: Add Apprise support as a vendor #601

comnam90 opened this issue Feb 8, 2021 · 0 comments

Comments

@comnam90
Copy link

comnam90 commented Feb 8, 2021

Hey guys,

This looks awesome, but it would be great if you included support for Apprise as a notification vendor
This would add out of the box support for many many more providers like Teams, twitter, telegram, etc.

Apprise has python libraries for easy integration

import apprise

# Create an Apprise instance
apobj = apprise.Apprise()

# Add all of the notification services by their server url.
# A sample email notification:
apobj.add('mailto://myuserid:[email protected]')

# A sample pushbullet notification
apobj.add('pbul://o.gn5kj6nfhv736I7jC3cj3QLRiyhgl98b')

# A sample Microsoft Teams notification
apobj.add('msteams:///T1JJ3T3L2@DEFK543/A1BRTD4JD/TIiajkdnlazkcOXrIdevi7F/')

# Then notify these services any time you desire. The below would
# notify all of the services loaded into our Apprise object.
apobj.notify(
    body='what a great notification service!',
    title='my notification title',
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant