Skip to content

PuzzelSolutions/smsgw-client-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status

Travis: Build Status

npm module

npm install intelecom-smsgw-client

Example usage

// 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));
	});

Install dependencies

npm install

Run tests

npm test

About

Node.js client library for Puzzel SMS Gateway

Resources

License

Stars

Watchers

Forks

Packages

No packages published