trello-node

v1.0.3
Trello client for node
Trello node

Trello Node

Provides a means to access the trello api via promises and node.

Methods

Trello.get(url)
Trello.post(url, data)
Trello.put(url, data)
Trello.delete(url)
Trello.getBoard(boardId) // Returns Board with lists and cards
Trello.getList(listId) // Returns list with cards
Trello.getListCards(listId)

There is also getAuthorizeUrl which allows you to get a bigger token that's longer lasting you can then set your token with setToken

Examples

var trello = new Trello(process.env.TRELLO_KEY, process.env.TRELLO_SECRET)


trello.get('member/me/boards')
  .then(function(data, response) {
    console.log(data)
  })
  .catch(error => throw error)
npm i trello-node

Metadata

  • MIT
  • Whatever
  • Mika Kalathil
  • released 4/29/2018

Downloads

Maintainers