Skip to content

First release

Pre-release
Pre-release
Compare
Choose a tag to compare
@ricardotulio ricardotulio released this 03 Jun 17:06

First release

This release contains:

client

The client allows us to connect with trello api and consume trello data. For example:

var trello = require('trellojs')

var credentials = {
  key: APP_KEY,
  token: USER_TOKEN
}

trello.connect(credentials)
  .then(client => USE CLIENT HERE)

boards.all()

The boards.all() allows us to retrevies data from all user boards from trello api. For example:

trello.connect(credentials)
  .then(client => client.boards.all())
  .then(boards => console.log(boards))