Skip to content

rhyolight/appveyor-js-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AppVeyor Client for Node.js

NPM

This is an incomplete API client for the AppVeyor API.

Installation

npm install appveyor-js-client

Requirements

You must have an AppVeyor account. To run the client, you'll need your AppVeyor account name and API token, which you can get at https://ci.appveyor.com/api-token.

You may either pass your AppVeyor API token into the AppVeyor() constructor or set it as an environment variable APPVEYOR_API_TOKEN.

Usage

Create a client

var AppVeyor = require('appveyor-js-client'),
    appveyor = new AppVeyor('account-name', 'api-token');

Get Projects

appveyor.getProjects(function(err, projects) {
    console.log(projects);
});

Using Project API

Each project returned is an AppVeyorProject object with the following functions:

Missing Features

Not all of the AppVeyor API is covered in this client. Feel free to add functionality in a pull request.

About

AppVeyor API Client for Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages