node-codeship
v1.0.1
Published
A codeship api wrapper
Downloads
12
Readme
#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
});