A Node.js library for sending sms and bulk sms using quicksms api r
~$ npm install quicksms
After Installing import quicksms
var quicksms = require('quicksms');
Create your username and password from quicksms official website
For error and response code, do check the official quicksms docs
quicksms.setCredentials(username,password);
sender :- the Sender of the message,
recipientFile :- the file path containing the Phone Numbers (for bulk sms, numbers should be seperated by ",")
message :- the content of the message to be sent
N.B :- Ignore the '+' sign in front of phone numbers, instead of '+23456868' use '23456868'
quicksms.sendSms(sender,message,recipient,cb);
quicksms.sendBulk(sender,message,recipientFile,cb);
quicksms.getBalance(cb);
quicksms.getDeliveryReport(msgId,cb);
If you would like to contribute, fork the repo, make your changes and create a pull request
This Library was released under MIT License