GNotifier 0.5

A web service to send messages via GTalk and GMail

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
MIT/X Consortium License 
USER RATING:
5.0/5 1
DEVELOPED BY:
Gael Pasgrimaud
HOMEPAGE:
www.gawel.org
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
The complete documentation of GNotifier can be found here.

Report bugs/patches at gael AT gawel.org

Here is a sample config file used to send notifications to recipients:

[server:main]
# GNotifier is a fast application so let's use gunicorn server
use=egg:gunicorn
port=5222

[app:main]
use=egg:GNotifier
# google id / password
gid = notif@gawel.org
passwd = xxx

# one or more adresses separated by spaces
recipients = gael@gawel.org

# debug mode. If false, send a notification on server startup
debug=false


Then run:

paster serve your_config.ini

GNotifier clients

There is two functions to use the web service

notifier.notify(title, message='', url='http://localhost:5222', path='/')

 * title: message title (required).
 * url: the url of the GNotifier server.
 * path: allowed paths are:

- / send message on gtalk and gmail
- /gmail send message on gmail
- /gtalk send message on gtalk

notifier.quick_notify(title, message='', url='http://localhost:5222', path='/', timeout=0.5)

Example:

>>> import notifier
>>> notifier.notify('Hello world !', path='/gtalk')


There is also a command line script:

gnotify -u http://localhost:5222 Hello world

Last updated on February 5th, 2010

requirements

#message sender #web service #google gtalk #GTalk #GMail #WSGI #messages

Add your review!

SUBMIT