Skip to content
Asynchronous Node.js wrapper for the Mediaburst Clockwork SMS API
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
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);
});
Something went wrong with that request. Please try again.