Node.jsでCOAサービスを使うためのライブラリです。
COA APIの仕様で注意すべき点は以下の通りです。
npm install @motionpicture/coa-service
const COA = require('@motionpicture/coa-service');
Name | Required | Value | Purpose |
---|---|---|---|
DEBUG |
false | coa-service:* | Debug |
const COA = require('@motionpicture/coa-service');
const masterService = new COA.service.Master({
endpoint: '',
auth: new COA.auth.RefreshTokenClient({
endpoint: '',
refreshToken: ''
})
});
masterService.theater({
theaterCode: '123'
})
.then(console.log)
.catch(console.error);
Code sample are here.
npm run doc
emits typedoc to ./docs.
UNLICENSED
Generated using TypeDoc