posquit0 / node-kakao-alimtalk-bizmsg

API Client to send Kakao Alimtalk with BizMsg Provider

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kakao Alimtalk BizMsg

kakao-alimtalk-bizmsg

💌 Client for BizMsg Kakao Alimtalk API


Kakao Alimtalk BizMsg is the client library for BizMsg Kakao Alimtalk API to send alimtalk message with phone-numbers, message, and template-id.

Installation

# NPM
$ npm install --save node-kakao-alimtalk-bizmsg
# Yarn
$ yarn add node-kakao-alimtalk-bizmsg

Example

const BizMsg = require('kakao-alimtalk-bizmsg');

const client = new BizMsg({
  userId: process.env.BIZMSG_USER_ID,
  apiKey: process.env.BIZMSG_API_KEY
});

const to = ['01012345678', '01056784321'];
const message = 'Hello World!';
const templateId = 'cp-example-123';

// Send alimtalk message
client.send(to, message, templateId)
  .then(console.log)
  .catch(console.error);

API

To be updated

Contributing

This project follows the Contributor Covenant Code of Conduct.

Bug Reports & Feature Requests

Please use the issue tracker to report any bugs or ask feature requests.

Self Promotion

Like node-kakao-alimtalk-bizmsg? Follow the repository on GitHub. And if you're feeling especially charitable, follow posquit0 on GitHub.

Contact

If you have any questions, feel free to join me at #posquit0 on Freenode and ask away. Click here to connect.

License

Provided under the terms of the MIT License.

Copyright © 2017, Byungjin Park.

About

API Client to send Kakao Alimtalk with BizMsg Provider

License:MIT License


Languages

Language:JavaScript 100.0%