A partial implementation of the HipChat v2 API in Python
You'll need to have the Requests module and be able to authenticate with the HipChat v2 API
import hipchat
ROOM = '8675309'
token = '9b4f2a8c9db85063c5b8a5307f29a15d'
api = hipchat.API(auth_token=token, room=ROOM)
notification = hipchat.Notification('I am Jack\'s HipChat notification')
api.post_notification(notification)
import hipchat
ROOM = '8675309'
token = '9b4f2a8c9db85063c5b8a5307f29a15d'
api = hipchat.API(auth_token=token, room=ROOM)
api.set_topic('I am Jack\'s room topic')
import hipchat
ROOM = '8675309'
token = '9b4f2a8c9db85063c5b8a5307f29a15d'
api = hipchat.API(auth_token=token)
api.get_rooms()