0.1.1 • Published 8 years ago

sandcage-api-nodejs v0.1.1

Weekly downloads
9
License
-
Repository
-
Last release
8 years ago

SandCage

Scrutinizer Code Quality Build Status

sandcage-api-nodejs is a Node.js library for interfacing with SandCage's API. The API documentation can be found at https://www.sandcage.com/docs/0.2/

Table of Contents

Requirements

Usage

var sandcage = new SandCage('[YOUR SANDCAGE API KEY]');
sandcage
  .listFiles({})
  .then(function(response) {
    console.log(response);
  })
  .catch(function(err) {
    console.error(err);
  });

or with callbacks

var sandcage = new SandCage('[YOUR SANDCAGE API KEY]');
sandcage.listFiles({}, function(err, response) {
  console.log(response);
})

Contributing

We are open to suggestions and code revisions, however there are some rules and limitations that you might want to consider first.

  • Code that you contribute will automatically be licensed under the Apache License Version 2.0.
  • Third party code will be reviewed, tested and possibly modified before being released.

These basic rules help ensure that this code remains Open Source and compatible with Apache 2.0 license. All contributions will be added to the changelog and appear in every release.