Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 542 Bytes

README.md

File metadata and controls

34 lines (20 loc) · 542 Bytes

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