Skip to main content

Simple HipChat client library

Project description

Install

pip install hipchatpy

Dependencies

  • requests

Sample Code

import hipchatpy

AUTH_TOKEN = 'hogehoge'

# Create a new instance.
client = hipchatpy.HipChatClient(AUTH_TOKEN)

# Create a room.
client.create_room(name='Test_ROOM', owner_user_id=10000):

# Send a message.
client.send_message(room_id=10000, message_from='hipchatpy', message='Test Message')

# Send a message (Back ground Color = Red).
client.send_message(room_id=10000, message_from='hipchatpy', message='Alert', color='red')

# Get list rooms for your group.
client.get_room_list()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hipchatpy, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size hipchatpy-0.0.5.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page