From b7d0727e1fbdb003c45a5472f720daca499982a0 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Thu, 21 Feb 2019 21:46:59 -0500 Subject: [PATCH] Updated Development_API (markdown) --- Development_API.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Development_API.md b/Development_API.md index 93d2b6e..8972ebd 100644 --- a/Development_API.md +++ b/Development_API.md @@ -296,11 +296,21 @@ import apprise # would have otherwise done under the hood: obj = apprise.Apprise.instantiate('glib://') -# Now you can use the send() function to pass notifications. -# send() is similar to Apprise.notify() except the overhead of +# Now you can use the notify() function to pass notifications. +# notify() is similar to Apprise.notify() except the overhead of # of tagging is not present. There also no handling of the # the text input type (HTML, MARKUP, etc). This is on you # to manipulate before passing in the content. +obj.notify( + body=u"A test message", + title=u"a title", +) + +# send() is a very low level call which directly posts the +# body and title you specify to the remote notification server +# There is NO data manipulation here, no overflow handling +# nothing. But this allows you to free form your own +# messages and pass them along using the apprise handling obj.send( body=u"A test message", title=u"a title",