Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Asynchronous Node.js wrapper for the Mediaburst Clockwork SMS API
JavaScript
Branch: master

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.