Package pushnotify
[hide private]
[frames] | no frames]

Package pushnotify

source code


Version: 0.5.1

Submodules [hide private]

Functions [hide private]
 
get_client(type_, developerkey='', application='')
Get a pushnotify client of the specified type.
source code
Variables [hide private]
  logger = logging.getLogger(__package__)
  __package__ = 'pushnotify'
Function Details [hide private]

get_client(type_, developerkey='', application='')

source code 
Get a pushnotify client of the specified type.

Args:
    type_: A string containing the type of client to get. Valid
        types are 'nma,' 'prowl,', and 'pushover,' for Notify My
        Android, Prowl, and Pushover clients, respectively.
    developerkey: A string containing a valid developer key for the
        given type_ of client.
    application: A string containing the name of the application on
        behalf of whom the client will be sending messages.

Returns:
    An nma.Client, prowl.Client, or pushover.Client.