/node-codeship

codeship api wrapper

Primary LanguageHTML

#Node-Codeship

Coverage Status Build Status Codeship Status for securingsincity/node-codeship

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