textlocal-complete
Promise based textlocal client for nodejs
Installation Details
$ npm i textlocal-complete
Usage
All the functions below return a Promise object.
Send an SMS to single contact
sendSms('YOUR-API-KEY', 919999999999, 'TXTLCL', 'Message');
Send an SMS to multiple contacts
sendSmsToMultipleNumbers(
'YOUR-API-KEY',
[
],
'SENDER-CODE-6-LETTERS',
'Message matching the template',
);
Bulk API
sendBulk(
'YOUR-API-KEY',
[
],
'SENDER-CODE',
);
Get Balance
getBalance('YOUR-API-KEY');
Get Templates
getTemplates('YOUR-API-KEY');
License
MIT