March 19, 2013
Python Simple Hipchat
Easily send messages to Hipchat rooms with python-simple-hipchat—a lightweight script for quick, automated notifications using Python.
Check out python-simple-hipchat for super simple message posting to your Hipchat rooms.
#!/usr/bin/python import hipchat import sys data = sys.stdin.readline() hipster = hipchat.HipChat(token='xxxx') hipster.method('rooms/message', method='POST', parameters={'room_id': yyyy, 'from': 'Hipster', 'message': data})
