Ruby gem for interacting with HipChat API, https://www.hipchat.com/docs/api
MIT License
Ruby gem for interacting with HipChat API
hipchat-API has been tested under Ruby 1.9.3
gem install hipchat-api
require 'hipchat-api'
=> true
hipchat_api = HipChat::API.new('api_token')
=> #<HipChat::API:0x000001013d7280 @token="api_token", @hipchat_api_url="https://api.hipchat.com/v1">
rooms_create(name, owner_user_id, privacy = 'public', topic = '', guest_access = 0)
rooms_delete(room_id)
rooms_list
rooms_history(room_id, date, timezone)
rooms_message(room_id, from, message, notify = 0, color = 'yellow', message_format = 'html')
rooms_topic(toom_id, topic, from = 'API')
rooms_show(room_id)
users_list(include_deleted = 0)
users_create(email, name, title, is_group_admin = 0, password = nil, timezone = 'UTC')
users_delete(user_id)
users_show(user_id)
users_undelete(user_id)
users_update(user_id, email = nil, name = nil, title = nil, is_group_admin = nil, password = nil, timezone = nil)
Copyright (c) 2011-2014 David Czarnecki. See LICENSE.txt for further details.