appveyor-js-client

0.0.3 • Public • Published

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.

/appveyor-js-client/

    Package Sidebar

    Install

    npm i appveyor-js-client

    Weekly Downloads

    1

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • rhyolight