GNotifier 0.5

A web service to send messages via GTalk and GMail
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, 11:31 GMT
price:
FREE!
homepage:
www.gawel.org
license type:
MIT/X Consortium License 
developed by:
Gael Pasgrimaud
category:
ROOT \ Internet \ HTTP (WWW)
GNotifier
Download Button

In a hurry? Add it to your Download Basket!

user rating 1

5.0/5
 

0/5

Rate it!

Add your review!

SUBMIT