Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/securingsincity/node-codeship
codeship api wrapper
https://github.com/securingsincity/node-codeship
Last synced: about 2 months ago
JSON representation
codeship api wrapper
- Host: GitHub
- URL: https://github.com/securingsincity/node-codeship
- Owner: securingsincity
- Created: 2015-01-11T16:00:53.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-08T20:51:12.000Z (over 9 years ago)
- Last Synced: 2024-10-13T13:39:08.641Z (3 months ago)
- Language: JavaScript
- Size: 3.2 MB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Node-Codeship
[![Coverage Status](https://coveralls.io/repos/securingsincity/node-codeship/badge.png)](https://coveralls.io/r/securingsincity/node-codeship)
[![Build Status](https://travis-ci.org/securingsincity/node-codeship.svg?branch=master)](https://travis-ci.org/securingsincity/node-codeship)
[ ![Codeship Status for securingsincity/node-codeship](https://codeship.com/projects/40e0bf80-7c0b-0132-a8a1-5e0abf46f2b9/status?branch=master)](https://codeship.com/projects/56348)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
});
```