mechanic-sms

0.2.3 • Public • Published
 
var MechanicSms = require("mechanic-sms");
 
// initialize mechanic-sms
var mechanicSms = new MechanicSms("{SENDER_ALIAS}", "{PROVIDER}", credentials);
 
// fire it up
mechanicSms.sendSMS([{NUMBERS}], "{TEXT}")
    .then(function (results) {
        // {
        // [
        // status: "success|error",
        // message: "messageid|error_text"
        // ]
        // }
    })
    .catch(function(error) {
        done(error);
    });

Readme

Keywords

none

Package Sidebar

Install

npm i mechanic-sms

Weekly Downloads

0

Version

0.2.3

License

MIT

Last publish

Collaborators

  • cagdas89
  • inanmadak
  • ubaltaci