diff --git a/config.md b/config.md index 9db623c..273a25a 100644 --- a/config.md +++ b/config.md @@ -60,12 +60,21 @@ from apprise import Apprise # Our object a = Apprise() -# our services +# Add our services (associate a tag with each) a.add('mailto://user:pass@hotmail.com', tag='email') a.add('gnome://', tag='desktop') -# Send off our all of our notifications -a.notify() +# Send off our all of our notifications (v0.8.0 or less) +a.notify("A message!", title="An Optional Title") + +# For Apprise v0.8.1 or newer, the following will notify everything: +# The 'all' is a system level keyword to notify everything disreguarding +# tag assignments: +a.notify("A message!", title="An Optional Title", tag="all") + +# To notify specific URLs that were loaded, you can match them by their +# tag; the below would only access out mailto:// entry: +a.notify("A message!", title="An Optional Title", tag="email") ``` Well this is how little your code has to change with configuration: @@ -95,7 +104,7 @@ config.add('http://example.com/config') a.add(config) # Send off our all of our notifications -a.notify() +a.notify("A message!", title="An Optional Title") # filter our notifications by those associated with the # devops tag: