npm install intelecom-smsgw-client
// Initialize the client
var client = require('intelecom-smsgw-client').init(baseAddress, serviceId, username, password);
// Single recipient, 0 NOK
var messages = [{ recipient: '+47XXXXXXXX', content: 'This is a test' }];
client.send(messages,
function (error) {
console.log('Error:' + error);
},
function (response) {
console.log('Response:' + JSON.stringify(response));
});
npm install
npm test