Asynchronous Node.js wrapper for the Mediaburst Clockwork SMS API
JavaScript
Permalink
Failed to load latest commit information.
lib Fix error handling on sendSms callback Jul 30, 2012
.gitignore Initial commit Jul 28, 2012
LICENSE Add license Jul 28, 2012
README.md Fix example Jul 29, 2012
package.json Bump to 0.0.4 and lower min engine requirement Jul 30, 2012

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