No description or website provided.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
image
node_modules/request
.gitignore
LICENSE
README.md
app.js
package.json
smsAlert.js

README.md

smsAlert

A small node.js library for smsAlert sms api.

For more info visit Sms Alert

Requirements

  • apikey : Api Key(This key is unique for every user)

  • number : single mobile number (Keep number in international format)

  • message : Message Content to send

  • senderid : Receiver will see this as sender's ID

  • route : If your operator supports multiple routes then give one route name

  • senderno : Sender Mobile No

Installation

$ npm install smsAlert

How to use

Text SMS

Send sms

var smsAlert=require('./smsAlert.js');

//Authentication Key / Api Key
var apikey='';

//for number
var number='';

//message
var message='';

//Sender ID
var senderid='';

//Route
var route='';


//send to single number

smsAlert.sendOne(apikey,number,message,senderid,route,function(response){

//Returns Message Response, If Sent Successfully or the appropriate Error Message
console.log(response);
});

## License

  [CVT](LICENSE)