/goip-sms

module for send sms via goip gsm gateway

Primary LanguageJavaScriptMIT LicenseMIT

goip-sms

module for send sms via goip gsm gateway

Build Status

install

npm install goip-sms --save

usage

var Goip = require('goip-sms');

var sms = new Goip({host: 'goip-ip', user: 'admin', password: 'admin'});

sms.send({
    number: '89135292926',
    message: 'Привет',
    line: '1'
  })
  .then(function(response) {
    console.log('response', response.body);
  })

test

npm test