A small command line tool is also provided with this package called *apprise*. If you know the server url's you wish to notify, you can simply provide them all on the command line and send your notifications that way:
A small command line tool is also provided with this package called *apprise*. If you know the server url's you wish to notify, you can simply provide them all on the command line and send your notifications that way:
```bash
```bash
# Send a notification to as many servers as you want to specify
# Send a notification to as many servers as you want
Developers need access to configuration files too. The good news is their use just involves declaring another object (called AppriseConfig) that Apprise can ingest too! You can mix and match config and notification entries too!
Developers need access to configuration files too. The good news is their use just involves declaring another object (called *AppriseConfig*) that the *Apprise* object can ingest. You can also freely mix and match config and notification entries as often as you wish!
# Then notify these services any time you desire. The below would
# Then notify these services any time you desire. The below would
# notify all of the services loaded into our Apprise object; this includes
# notify all of the services loaded into our Apprise object; this includes
@ -176,12 +181,14 @@ apobj.notify(
)
)
# If you're using tagging, then you can load all of your notifications
# If you're using tagging, then you can load all of your notifications
# but only selectively call ones associated with one or more tags:
# but only selectively notify the ones associated with one or more
# matched tags:
apobj.notify(
apobj.notify(
body='send a notification to our admin group'
body='send a notification to our admin group'
title='Attention Admins',
title='Attention Admins',
# notify any services tagged with the 'admin' tag
tag='admin',
tag='admin',
)
)
```
```
If you're interested in reading more about this and methods on how to customize your own notifications, please check out the wiki at https://github.com/caronc/apprise/wiki/Development_API
If you're interested in reading more about this and other methods on how to customize your own notifications, please check out the wiki at https://github.com/caronc/apprise/wiki/Development_API