https://github.com/nicgirault/angular-trello-api-client
An angular client API bypassing the client.js file provided by Trello (no jQuery dependency)
https://github.com/nicgirault/angular-trello-api-client
Last synced: about 1 month ago
JSON representation
An angular client API bypassing the client.js file provided by Trello (no jQuery dependency)
- Host: GitHub
- URL: https://github.com/nicgirault/angular-trello-api-client
- Owner: nicgirault
- Created: 2015-11-26T17:02:38.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-16T23:15:53.000Z (over 9 years ago)
- Last Synced: 2025-04-29T23:48:45.073Z (5 months ago)
- Language: HTML
- Homepage:
- Size: 24.4 KB
- Stars: 8
- Watchers: 1
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular Trello API Client
An angular Trello Client bypassing the Trello client.js (based on jQuery).
This Client use [Satellizer](https://github.com/sahat/satellizer) for authentication.You don't know [Trello](trello.com)? Youhou, this is the day your life changed!
## Installation
```bash
# Bower
bower install angular-trello-api-client
```## Usage
```javascript
angular.module('demo', [
'ng',
'satellizer',
'trello-api-client',
]).config(function(TrelloClientProvider){
TrelloClientProvider.init({
key: 'trello app key',
appName: 'Your app name displayed in authentication popup',
tokenExpiration: 'never',
scope: ['read', 'write', 'account'],
});
}).controller('demoCtrl', function($scope, TrelloClient){
$scope.authenticate = TrelloClient.authenticate
$scope.getMyBoards = function(){
TrelloClient.get('/members/me/boards').then(function(response){
console.log(response);
});
};
});
```[Trello API Doc](https://developers.trello.com/advanced-reference)