0.2.0 • Published 9 years ago

codeship-node v0.2.0

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

codeship-node

npm.io

Codeship API for node - https://codeship.com/documentation/integrations/api/

Usage

You'll need to set up with your API key first (find it here):

var Codeship = require('codeship-node');
var codeship = new Codeship({apiKey: 'abc123'});

Each method is nested under it's resource name and requires a callback. Example of retrieving all projects:

codeship.projects.list(function(err, projects) {
  if (err) {
    // do stuff
  }
  
  console.log('Projects!', projects);
}):

Available methods

  • builds
  • restart(build_id, cb)
  • projects
  • get(project_id, cb)
  • list(cb)
0.2.0

9 years ago

0.1.0

9 years ago