Skip to content

Commit

Permalink
better docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lmatteis committed Dec 22, 2011
1 parent 89471bf commit 10a59c5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ Node wrapper for Trello's HTTP API.

## Example

trello.get("grinfo", function(data) {
console.log(data[0]);
});
require("node-trello");

trello.key = "<your key>";
trello.token = "<token>";

trello.api("/1/organization/some-org/boards/all", function(err, data) {
if(err) throw err;
console.log(data);
});

0 comments on commit 10a59c5

Please sign in to comment.