sprintly-search

2.3.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i sprintly-search

Weekly Downloads

2

Version

2.3.0

License

MIT

Last publish

Collaborators

  • sprintlyops