This package just wraps the chatwork API.
With npm:
npm install chatwork-api-wrap
With yarn:
yarn add chatwork-api-wrap
const chatwork = require('chatwork-api-wrap');
chatwork.me.get('YourChatworkToken')
.then((body) => console.log(body))
.catch((error) => console.error(error));
property | description |
---|---|
me | Your own account information. |
my | Your own relation data. |
contacts | Your own contact data. |
rooms | Chat room operation. |
incomingRequests | Contact approval request data operation. |