<img src="http://i.imgur.com/GoaISmM.png" align="right" />
# get-sauce-results

  Download debugging information about a sauce labs job

## Installation

    $ npm install get-sauce-results

  or

    $ npm install get-sauce-results -g

## Usage

### Command Line

  To download all of a jobs assets into the current directory simply run:

    get-sauce-results user key jobID

### API

  To download all the jobs assets:

```javascript
var getSauceResults = require('get-sauce-results');

getSauceResults(user, key, jobID, write, function (err) {
  if (err) throw err;
  console.log('done');
});

function write(fileName, fileContentStream, callback) {
  var output = fs.createWriteStream(path.join(__dirname, 'output', fileName));

  fileContentStream.pipe(output);

  fileContentStream.on('error', cb);
  output.on('error', cb);

  output.on('close', function () {
    cb();
  });
}
```
<img src="http://i.imgur.com/GoaISmM.png" align="right" />
# get-sauce-results
[![Dependency Status](https://gemnasium.com/jepso-ci/get-sauce-results.png)](https://gemnasium.com/jepso-ci/get-sauce-results)

  Download debugging information about a sauce labs job

## Installation

    $ npm install get-sauce-results

  or

    $ npm install get-sauce-results -g

## Usage

### Command Line

  To download all of a jobs assets into the current directory simply run:

    get-sauce-results user key jobID

### API

  To download all the jobs assets:

```javascript
var getSauceResults = require('get-sauce-results');

getSauceResults(user, key, jobID, write, function (err) {
  if (err) throw err;
  console.log('done');
});

function write(fileName, fileContentStream, callback) {
  var output = fs.createWriteStream(path.join(__dirname, 'output', fileName));

  fileContentStream.pipe(output);

  fileContentStream.on('error', cb);
  output.on('error', cb);

  output.on('close', function () {
    cb();
  });
}
```
Add dependency status to readme
Add dependency status to readme
