0.0.4 • Published 8 years ago

troll-client v0.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

Troll-Client: A Modern Trello Client For Browsers/Electron

This is still a (big-time) WIP, but is an attempt to port Trello's client.js to be more useful in a modern setup. It loses the jQuery dependency, instead depending on fetch and promises.

Currently it is only usable in modern browsers, I intend to make it easier to use with fetch polyfills on Node, and may explore transpiling away the ES6 features currently used in the code. This is early days, but contributions are welcome.

Usage

var Trello = require('troll-client');
var t = new Trello('<application-key>');


t.authorize({
  type: 'popup',
  name: 'Getting Started Application',
  scope: {
    read: true,
    write: true
  },
  expiration: 'never',
}).then(() => {
    t.get('members/me').then((data) => console.log(data));
})
0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago