kintone-api

0.0.3 • Public • Published

kintone.js

利用例

import Kintone from 'kintone-api';

const kt = new Kintone({
  subDomain: 'xxxxxxxxx',
  userName: 'xxxxxxxxx',
  password: 'xxxxxxxxx'
});

kt.record.get({
  appId: 1,
  recordId: 2,
})
  .then(({ res, err }) => {
    if (err !== null) {
      // error handling
    }
    // do anything
  })
kt.record.getList({
  appId: 1,
})
  .then(({ res, err }) => {
    if (err !== null) {
      // error handling
    }
    // do anything
  })

開発方法

事前準備

開発を行う前に以下のソフトウェアをインストールする。

リポジトリのセットアップ

以下の手順を踏むことで開発環境が構築できる。

  1. このリポジトリを任意のディレクトリへクローンする
  2. クローンしたローカルリポジトリへ移動
  3. 依存ライブラリの取得
# リポジトリのクローン
git clone https://github.com/nishitaniyuki/kintone
# 依存ライブラリの取得
yarn

利用可能コマンド

yarn run build

プロダクション用のファイルをdistディレクトリ以下に作成する。

yarn run test

テストの実行を行う。

yarn run lint

リント処理を行う。

動作環境

NodeJS

利用ライブラリ

Dependencies

Development Dependencies

作者

matsumoto itsuki / 松本逸輝
nishitani yuki / 西谷優希

Readme

Keywords

none

Package Sidebar

Install

npm i kintone-api

Weekly Downloads

2

Version

0.0.3

License

none

Last publish

Collaborators

  • nishitaniyuki