0.1.5 • Published 8 years ago

kintone-vx v0.1.5

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

Node-kintone

A Node.js wrapper for kintone API.

Installation

Install via npm

npm install kintone-vx

Usage

The following example fetches the information of an app by API token:

var kintone = require('kintone');

var token = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
var api = new kintone('example.cybozu.com', { token: token });
api.app.get({ id: 1 }, function(err, response) {
    console.log(response);
});

Authorization by username and password is also allowed:

var api = new kintone('example.cybozu.com', {
    authorization: {
      username: "XXXXXXXX",
      password: "XXXXXXXX"
    }
});

Authorization with basic authentication:

var api = new kintone('example.cybozu.com', {
    authorization: {
      username: "XXXXXXXX",
      password: "XXXXXXXX"
    },
    basic: {
      username: "YYYYYYYY",
      password: "YYYYYYYY",
    }
});

API Documentation

LICENSE

MIT