Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
CoffeeScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
lib
src
test
.gitignore
Cakefile
README.md
package.json

README.md

Registering for an API key

Basic Usage

var nrub = new require("nrub")({
  api_key: "<insert-api-key-here>"
})

Sending email

var email = nrub.email({
  subject: "Hello",
  body: "Message body..."
});

email.send(function (err, response) {
  ...
});

Sending a text message

var sms = nrub.sms({
  body: "Text body..."
});

sms.send(function (err, response) {
  ...
});
Something went wrong with that request. Please try again.