Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

node-coolsms

0.0.1 • Public • Published

node-coolsms

www.coolsms.co.kr REST API helper for node.js

Usage

 
coolsms.init({
  secret: 'your_secret_key',
  key: 'your_api_key',
});
 
coolsms.balance(function (err, result) {
  console.log('result err=%s, result', err, result);
});
 
coolsms.send({
  to: '01000000000',
  from: '0200000000', // your number
  type: 'SMS',
  text: '테스트  test .. abcdeef .....efer 테스트 입니다',
}, function (err, result) {
  console.log('result err=%s, result', err, result);
});
 
coolsms.sent(function (err, result) {
  console.log('result err=%s, result', err, result);
});
 
coolsms.status(function (err, result) {
  console.log('result err=%s, result', err, result);
});

License

MIT

Install

npm i node-coolsms

DownloadsWeekly Downloads

0

Version

0.0.1

License

none

Last publish

Collaborators

  • avatar