nodeship

A codeship api wrapper

Usage no npm install needed!

<script type="module">
  import nodeship from 'https://cdn.skypack.dev/nodeship';
</script>

README

nodeship

Node wrapper for Codeship API

Codeship API Docs You can get your API key on your account page

Install

npm install nodeship

Examples

var NodeShip = require('nodeship');

var nodeShip = new NodeShip({
  apiKey : 'APIKEY'
});

nodeShip.projects(function(response){
    console.log(response);
});
nodeShip.project(114064, function(response){
    console.log(response);
});
nodeShip.builds(114064, function(response){
    console.log(response);
});
nodeShip.buildRestart(9655702, function(response){
    console.log(response);
});