Skip to main content

Notify My Android module/script

Project description

Notify My Android Module
------------------------

Implements the NMA API as
an importable module or
shell script.

from nmapy import Nma

nma = Nma()
if nma.verify( "apikey" ):
if not nma.notify( ["apikey1","apikey2"],"application text", "event text",
"description text", priority = 1, url = "http://notifymyandroid.com",
content_html=True ):
`handle error`

or as a shell script

./nmapy.py --help

./nmapy.py --mode verify --apikey `key`
./nmapy.py --mode notify --apikey ( `key`,`key`,etc ) or additional `--apikey` arguments

This version requires a current release of python 2.7 series.

A second module will be developed for python 3 users.

Project details


Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page