1.0.1 • Published 9 years ago

node-codeship v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

#Node-Codeship

Coverage Status Build Status

An API wrapper for codeship

##Install npm install node-codeship

##Instantiate

var CodeShip = require('node-codeship');

var codeShip = new CodeShip({
  apiKey : YOUR_API_KEY
});

##Commands

###Projects

Retrieve all projects

codeShip.projects(function(response) {
  // your projects : response.projects
})

###Project

Retrieve a specific project

codeShip.projects(projectId,function(response) {
  // your project
})

###Build Restart

codeShip.buildRestart(buildId,function (response) {
  //build started
});