Trello
Read and write Trello cards

Introduction

1
public static class API.Trello
Copied!
A simple Trello interface enabling access to Trello cards.

What can it do?

This can be used to create Trello cards on a target board in a target list. You can upload attachments to the card including images, files, etc.
This interface requires a valid API key and token to be used. For more information please see the Trello API site
https://trello.com/app-key
trello.com

How To

All operations require a valid Trello API key and token.
In most cases you will not want to ship a game with Trello integration active however it can be very useful during development with development builds or in limited testing situations.
As an alternative to Trello you may want to consider Unity's User Reporting feature which is more appropreat to be used on produciton clients.

Get a list of available boards

Get a list of available boards, you would typically do this to get a board ID for use in the GetLists operation.
1
StartCoroutine(API.Trello.GetBoards(key, token, callback));
Copied!

Get a list of list objects

Get a list of lists in this board, you would typcially do this to get a list of lists available to this board for use in the GetCards or CreateCard operations.
1
StartCoroutine(API.Trello.GetLists(key, token, boardId, callback));
Copied!

Get Cards

Get a list of cards in the indicated list.
1
StartCoroutine(API.Trello.GetCards(key, token, listId, callback));
Copied!

Create Card

Create a new card and optionally attach local files to it.
1
StartCouroutine(API.Trello.CreateCard(key,
2
token,
3
listId,
4
cardName,
5
cardDescription,
6
attachments,
7
callback));
Copied!
The attachments should be a collection of fully qualified paths to the files to be attached to the card.
Last modified 7mo ago