SpeedCurve API wrapper for NodeJS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
test
.gitignore
README.md
package.json

README.md

SpeedCurve API Wrapper for NodeJS

SpeedCurve API Wrapper is a NPM package that wraps SpeedCurve API for NodeJS as a module and a command-line tool.

Getting started

$ npm install speedcurve-api -g

Basics

Command line

$ speedcurve deploy --note="I'm a note" --detail="I'm a longer note with way more detail."

Module

var SpeedCurve = require('speedcurve-api');
var spd = new SpeedCurve('<your-api-key>', [dry-run]);

spd.deploy({
	  note: 'I am a note',
	  detail: 'I am a longer note with way more detail.'
	}, function(err, data) {
	  console.log(err || data);
	});