Asynchronous Node.js wrapper for the Mediaburst Clockwork SMS API
JavaScript
Permalink
Failed to load latest commit information.
lib
.gitignore
LICENSE
README.md
package.json

README.md

node-clockwork

Install

npm install clockwork

Usage

ClockworkApi = require('clockwork').ClockworkApi;

client = ClockworkApi({key: 'YOUR_API_KEY_HERE'}); // Alternatively you can use username and password

client.getCredit(function(error, credit) {
    console.log(credit);
});

client.sendSms({ To: '44743743445335', Content: 'Test!'}, function(error, resp) {
    console.log(resp);
});