hipchat-client
v1.0.5
Published
A Hipchat API Client
Downloads
91
Readme
hipchat-client
var HipChatClient = require('hipchat-client');
var hipchat = new HipChatClient('auth_token');
hipchat.api.rooms.message({
room_id: 'Frontend',
from: 'HipChat Client',
message: 'Hello world!'
}, function (err, res) {
if (err) { throw err; }
console.log(res);
});
Installation
$ npm install hipchat-client
API and documentation
Rooms:
Users:
More information at HipChat API Documentation
Running Tests
To run the test suite, first invoke the following command within the repo, installing the development dependencies:
$ npm install
Then run the tests:
$ npm test