kintone-vx

0.1.5 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i kintone-vx

Weekly Downloads

0

Version

0.1.5

License

MIT

Last publish

Collaborators

  • bdhwan