node-red-contrib-kintone
v1.0.3
Published
Node-RED nodes for kintone
Downloads
15
Readme
node-red-contrib-kintone
Node-RED node that operates kintone records using kintone REST API.
Support operations are as following:
- read
- create
- update
See http://developer.cybozu.io/ for REST API specs.
Installation
Manually install:
- In the directory containing the node’s
package.json file
, runnpm link
$ git clone https://github.com/chick-p/node-red-contrib-kintone.git $ cd node-red-contrib-kintone $ npm link
- Restart Node-RED.
Using Node Package Manager:
- Change to your Node-RED user directory and install this package.
$ cd ~/.node-red $ npm install node-red-contrib-kintone
- Restart Node-RED.
Getting Started
This example that output getting records from kintone.
Add a kintone node, edit [Config] and fill properties of your kintone environment.
Fill request setting.
Connect to [inject] and [debug] nodes.
Delopy and Execute. You can get as following JSON format data.
{ "records": [ { "$id":{"type":"__ID__","value":"1"}, "$revision": { "type": "__REVISION__", "value": "1" }, "created at": { "type": "CREATED_TIME", "value": "2019-02-04T00:47:00Z" }, "updated at": { "type": "UPDATED_TIME", "value": "2019-02-04T00:47:00Z" }, "name": { "type": "SINGLE_LINE_TEXT", "value": "Taro" } }, { "$id":{"type":"__ID__","value":"2"}, "$revision": { "type": "__REVISION__", "value": "1" }, "created at": { "type": "CREATED_TIME", "value": "2019-02-04T00:47:00Z" }, "updated at": { "type": "UPDATED_TIME", "value": "2019-02-04T00:47:00Z" }, "name": { "type": "SINGLE_LINE_TEXT", "value": "Hanako" } } ], "totalCount": "2" }
Licence
The MIT License.
Copyright (c) 2019 chick-p
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.