smsapi / smsapi-javascript-client

SMSAPI javascripts client that allows you to send messages and administrate your SMSAPI account.
https://www.smsapi.com/
Apache License 2.0
27 stars 10 forks source link

SMSAPI JavaScript (node.js) Client

Installation

npm install smsapi --save

Example

import { SMSAPI } from 'smsapi';

const smsapi = new SMSAPI('oAuthToken');

try {
  const result = await smsapi.sms.sendSms('+48605xxxxxx', 'My first message!');

  console.log(result);
} catch (err) {
  console.log(err);
}

Supported modules

Docs & Infos

License

Apache 2.0 License