0.1.4 • Published 7 years ago

node-whois-sms v0.1.4

Weekly downloads
5
License
GPL-3.0
Repository
github
Last release
7 years ago

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 messages
  • cb - Callback function.
0.1.4

7 years ago

0.1.3

7 years ago