https://github.com/eon01/hippy
A Python Wrapper For Hipchat Api v2
https://github.com/eon01/hippy
Last synced: 11 months ago
JSON representation
A Python Wrapper For Hipchat Api v2
- Host: GitHub
- URL: https://github.com/eon01/hippy
- Owner: eon01
- License: mit
- Created: 2016-10-05T20:05:35.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-12-07T09:39:45.000Z (over 9 years ago)
- Last Synced: 2025-07-18T23:37:54.161Z (12 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hippy
A Python Wrapper For Hipchat Apiv2
## Sending Notifications
Get you access token and find the room id.
You can choose the color (yellow, green, red, purple, gray, random), to notify the room or not (True, False) and the type of the message you're sending.
You can send messages to HipChat rooms as text, html, or cards.
- The HTML will be curated by HipChat.
- Allowed HTML tags: a, b, i, strong, em, br, img, pre, code, lists, tables.
``` python
from api.notify import Notify
key = ""
room_id = ""
n = Notify(key, room_id)
n.notify( "Testing Hippy", "red", "false", "text")
```
More documentation could be found on the official Hipchat website:
https://developer.atlassian.com/hipchat/guide/sending-messages