tsypa / sms-reg

SMS-REG.com API 2.0
MIT License
2 stars 1 forks source link

sms-reg

SMS-REG.com API 2.0

Installation

npm install sms-reg

Usage

'use strict'

let SmsReg = require('sms-reg');
let smsreg = new SmsReg('API_KEY');

smsreg.getNum('all', 'mailru')
  .then(num => {...})
  .catch(err => {...})

// e.t.c., You can use all of SMS-REG API 2.0 methods in this manner