2.3.0 • Published 9 years ago

sprintly-search v2.3.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

sprintly-search

This project aims to provide a simple node/in-browser (via browserify) API client for fetching items across multiple products inside sprintly.

You can find documentation for the search API here.

Usage

var API = require('sprintly-search');

// NOTE: 5304 is a user-id. You may need to change this for this
// example to work.
API.search(API.getOptions('assigned_to:5304', {
  user: 'jane@example.org',
  pass: 's3cr3t'
})).then(function (json) {
  console.log('Number of items? ', JSON.stringify(json).length);
}, function (err) {
  console.log('error: ', err.response.body);
});

Your username is the email you use to login to sprintly with. The password is your API key, which can be found on your profile.