Skip to content
This repository has been archived by the owner on Oct 12, 2019. It is now read-only.

Latest commit

 

History

History
18 lines (10 loc) · 611 Bytes

README.md

File metadata and controls

18 lines (10 loc) · 611 Bytes

Hipchat Ruby Library

This is just the first version of my copy of the HipChat API. I'm not sure I'm entirely in love with the way it calls Hipchat's API but it assumes a pretty auto-magical format. The future version may cut that back.

The simple way to use this is as follows:

hipchat = Hipchat::Base.new("yourAPIcode")

rooms = hipchat.rooms

main_room = rooms.first

main_room.speak("Bot Name", "This is a simple message")

users = main_room.users # => Returns a the users in the room

users.first.profile # => Returns the special information about the user