4.0.15 • Published 4 years ago

coolsms-sdk-v4 v4.0.15

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

CoolSMS SDK for Javascript

You can send text messages, Kakaotalk in Korea using this package.

Installing

To use the SDK, simply use npm package manager CLI. Type the following into a terminal window.

npm install coolsms-sdk-v4

Usage

const { config, Group } = require('coolsms-sdk-v4')
config.init({
  apiKey: 'ENTER API_KEY',
  apiSecret: 'ENTER API_SECRET'
})
send({
  text: 'Hello CoolSMS',
  to: 'Receiver Number',
  from: 'Sender Number'
})
async function send (message, agent = {}) {
  console.log(await Group.sendSimpleMessage(message, agent))
}

Examples

Group Message, Simple Message, Scheduled Messages,

more examples can be found at coolsms-v4-examples

Opening Issues

If you encounter a bug with the COOLSMS SDK for Javascript we would like to hear about it. Search the existing issues and try to make sure your problem doesn’t already exist before opening a new issue. It’s helpful if you include the version of the SDK, Node.js or browser environment and OS you’re using. Please include a stack trace and reduced repro case when appropriate, too.

License

Licensed under the MIT License.

4.0.15

4 years ago

4.0.14

4 years ago

4.0.13

6 years ago

4.0.12

6 years ago

4.0.11

6 years ago

4.0.10

6 years ago

4.0.9

6 years ago

4.0.7

6 years ago

4.0.5

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago