node-whois-sms
v0.1.4
Published
Unofficial Whois SMS hosting API for Node.js
Downloads
4
Readme
Whois SMS
Unofficial Whois SMS Hosting API for Node.js.
API
Initialize library
var WhoisSms = require("node-whois-sms");
var SMS = new WhoisSms(WHOIS_API_ID, WHOIS_API_PASS, WHOIS_SENDER);
Send SMS
WhoisSms.send(to, message, error, callback)
to
- Destination phone number. Only number type allowed.message
- Body of SMS.error
- When error occured, call this function with error messagescb
- Callback function.