0.0.1 • Published 9 years ago

speedcurve-api v0.0.1

Weekly downloads
9
License
-
Repository
github
Last release
9 years ago

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