Skip to content

Simple class for making requests to the Trello API. Not affiliated with Trello or Atlassian.

License

Notifications You must be signed in to change notification settings

cjrasmussen/TrelloApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrelloApi

Simple class for making requests to the Trello API. Not affiliated with Trello or Atlassian.

Usage

use cjrasmussen\TrelloApi\TrelloApi;

$trello = new TrelloApi($key, $token);

// GET THE CARD DATA FOR A SPECIFIED LIST
$data = $trello->request('GET', "/1/lists/{$list_id}}/cards");

// MARK A SPECIFIED CARD AS ARCHIVED
$trello->request('PUT', "/1/cards/{$card_id}/closed", ['value' => true]);

More Examples

More examples, as well as other things I've learned using the Trello API, are available at my blog.

Installation

Simply add a dependency on cjrasmussen/trello-api to your composer.json file if you use Composer to manage the dependencies of your project:

composer require cjrasmussen/trello-api

Although it's recommended to use Composer, you can actually include the file(s) any way you want.

License

TrelloApi is MIT licensed.

About

Simple class for making requests to the Trello API. Not affiliated with Trello or Atlassian.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages