node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

hipchat-client

hipchat-client

NPM Version Build Status Package downloads

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

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

License

MIT