0.2.4 • Published 2 years ago
trello-event-handler v0.2.4
Trello-event-handler
Description
The purpose of this library is to make the retrieval of the different actions done on your Trello simple and to be able to easily use the resulting data.
Installation
npm i trello-event-handler
Usage
const trello = new TrelloEventHandler(key, token);
trello.addBoardFromUrl(url, name);
/// Or
trello.addBoardFromId(id, name);
trello.start();
/// exemple
trello.on("createCard", (action) => {
console.log(action);
});