npm install node-trello
-
Public Key & Secret: visit this link while logged in Trello.
-
With these values visit this other link (Replacing, of course <PUBLIC_KEY> for the public key value obtained).
-
Authorice MyApp to read the application
-
MyApp now have the token.
var Trello = require("node-trello");
var t = new Trello("<your key>", "<token>");
t.get("/1/organization/some-org/boards/all", function(err, data) {
if(err) throw err;
console.log(data);
});