burrito-trello
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -60,3 +60,3 @@ const Interface = require('./Interface'); | ||
cards: () => this.get(`/members/${idMember}/cards`), | ||
notifications: () => this.get(`/members/${idMember}/notifications`), | ||
notifications: (params = {}) => this.get(`/members/${idMember}/notifications`, params), | ||
organizations: () => this.get(`/members/${idMember}/organizations`) | ||
@@ -63,0 +63,0 @@ }; |
{ | ||
"name": "burrito-trello", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "A better Trello API for node and the browser.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# Burrito Trello | ||
A Trello API wrapper for Node.js and the browser. | ||
## Getting Started | ||
### Install with Package Manager | ||
Install burrito-trello with your favorite package manager for JavaScript. [Yarn](https://yarnpkg.com/) is the package manager used to build this project. | ||
``` | ||
yarn add burrito-trello | ||
``` | ||
### Authentication | ||
`burrito-trello` supports token-based authentication, and it does not yet have support for a authorization userflow. For now, you can obtain your API key and a token from Trello's [Developer API Key](https://trello.com/app-key) page. | ||
Support for OAuth will is planned for 1.0. | ||
### Using Burrito-Trello | ||
Spinning up an instance of `burrito-trello` is straightforward. | ||
```javascript | ||
const BurritoTrello = require('burrito-trello'); | ||
... | ||
const trello = new BurritoTrello({ | ||
trelloKey: 'your-super-not-secret-developer-key', | ||
trelloToken: 'super-secret-trello-token' | ||
}); | ||
``` | ||
A Trello API wrapper for Node.js and the browser. |
92669
11
213
2