node package manager

connpass

node-connpass

The connpass API wrapper library for Node.js.

Installation

Install on NPM.

$ npm install -S connpass

Usage

connpass.get({options})

Get events for connpass API.
Options list is here.

It's Promise function, You should use then() and catch().

const connpass = require("connpass");
connpass.get()
.then((events)=>{
  console.log(events);
})
.catch((error)=>{
  console.log(error);
});

connpass.version()

Return version of this library.

const connpass = require("connpass");
connpass.version(); // 0.1.0