There might be scenarios where you want to send hipchat notifications programatically.
Following python script will help you to create notifications in 3 simple steps.
* Image credit: google images
Step 1:
Generate your auth token from your hipchat account.
Hipchat -> Account Settings -> API Access
#!/usr/bin/env python3.5importhipchat# For successful notifhipchat.notify("Deployment started","Vishnu","green")# If you want error notifhipchat.notify("Deployment failed","Vishnu","red")