1.0.3 • Published 6 years ago

trello-node v1.0.3

Weekly downloads
3
License
MIT
Repository
-
Last release
6 years ago

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)
1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.2.0

6 years ago

0.1.0

8 years ago

0.0.1

8 years ago