1.0.12 • Published 9 years ago

trello-client v1.0.12

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
9 years ago

Trello API client.

install
$ npm install trello-client --save
compile
$ coffee -c -o lib src
usage

trello-client is tested for Node

var trello = require('trello-client')(key, token);

trello.createBoard({name:'Bugs'}).then(function(board) { console.dir(board); })
test setup

Clone this repo and create a file called .env in the root with the following:

TRELLO_KEY=xxxx
TRELLO_TOKEN=xxxx

Developer keys can be obtained at https://trello.com/app-key

testing
$ npm test

Trello api

The entire Trello API will be supported someday :). Adding methods is as simple as updating the api.json file in the root directory. All method signatures accept a params object and return an A+ Promise.

  • trello.addMemberToBoard
  • trello.addMemberToOrg
  • trello.createBoard
  • trello.createCard
  • trello.createCheckitem
  • trello.createChecklist
  • trello.createList
  • trello.createWebhook
  • trello.deleteTokenWebhook
  • trello.getBoard
  • trello.getBoardMembers
  • trello.getLists (for a board)
  • trello.getMemberOrgs
  • trello.getOrgBoards
  • trello.getTokenWebhooks
  • trello.search (account-wide)
1.0.12

9 years ago

1.0.11

9 years ago

1.0.10

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago