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

A HipChat API (v1) Client for node.js

License

Notifications You must be signed in to change notification settings

germanrcuriel/hipchat-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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