1.1.0 • Published 1 year ago

chatwork-api-wrap v1.1.0

Weekly downloads
59
License
MIT
Repository
github
Last release
1 year ago

chatwork-api-wrap

This package just wraps the chatwork API.

Usage

Install

With npm:

npm install chatwork-api-wrap

With yarn:

yarn add chatwork-api-wrap

With pnpm:

pnpm add chatwork-api-wrap

SourceCode

const chatwork = require('chatwork-api-wrap');

chatwork.me.get('YourChatworkToken')
  .then((body) => console.log(body))
  .catch((error) => console.error(error));

or

import chatwork from 'chatwork-api-wrap';

try {
  const body = await chatwork.me.get('YourChatworkToken')
  console.log(body)
} catch (error) {
  console.error(error);
}

Properties

propertydescription
meYour own account information.
myYour own relation data.
contactsYour own contact data.
roomsChat room operation.
incomingRequestsContact approval request data operation.

Reference

chatwork API Reference

1.1.0

1 year ago

1.0.0

1 year ago

0.2.3

3 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago