Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-hipchat

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-hipchat

HipChat API library for node.js

  • 0.4.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
22
Maintainers
3
Weekly downloads
 
Created
Source

Summary

A simple node.js library for communicating with the HipChat REST API. Supports full Hipchat API

You can also install via npm:

npm install node-hipchat

Methods implemented:

rooms/create
rooms/delete
rooms/history
rooms/list
rooms/message
rooms/show

users/create
users/delete
users/list
users/show
users/update

Examples

First make sure you have an Admin API Key.

Send a message to a room

var hipchat = require('node-hipchat');

var HC = new hipchat('YOUR_API_KEY');

HC.listRooms(function(data) {
  console.log(data); // These are all the rooms
});

var params = {
  room: 123456, // Found in the JSON response from the call above
  from: 'FunkyMonkey',
  message: 'Some HTML <strong>formatted</strong> string',
  color: 'yellow'
};

HC.postMessage(params, function(data) {
  // Message has been sent!
});

FAQs

Package last updated on 11 Mar 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc