Introduction
The idea behind this module is to create a simple set of tools to make it easy to do integrations with Trello. For now only reading is supported. The module does nothing in itself, but enables developers to more easily do various things like getting boards or cards without understanding the Trello API
Example Code
I've written a small example of how to display a Trello board in Drupal with all the lists, cards and labels attached to the cards. This shows how easy it can be to display something from Trello on a Drupal site.
try {
$api = trello_api_get_api();
} catch (TrelloAPIMalconfiguredException $e) {
// Trello API has not been configured, so no calls are possible.
}
$output = NULL;
if (!empty($api)) {
$board = $api->getBoard('trello_id_of_board');
// Fetches labels, lists and cards for the board and prepares the data.
$board->fetchAllExternal();
// Render the board with lists, cards and labels.
$output = $board->view();
}
return $output;
Project information
- Module categories: Developer Tools, Integrations
- 1 site reports using this module
- Created by googletorp on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
7.x-1.0
released 15 May 2017
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-1.x-dev updated 8 Jul 2015 at 13:13 UTC