Skip to content
Rasmus Wulff Jensen edited this page May 12, 2023 · 64 revisions

This is the Main Client to communicate with the Trello API (aka everything is done via this)

Creating a new TrelloClient

In order to instantiate the client you need to provide:

Option Description
ApiKey (Required) The Trello API Key you get on https://trello.com/power-ups/admin/
Token (Required) Your Authorization Token you generate get on https://trello.com/power-ups/admin/
Options (Optional) Various options for the client (if null default options will be used) See below for details
HttpClient (Optional) Optional HTTP Client if you wish to specify it on your own (else an internal static HttpClient will be used for re-use)

Example

TrelloClient client = new TrelloClient("APIKey", "TOKEN");

TrelloClientOptions

The TrelloClientOptions can be passed optionally to the TrelloClient Constructor with the following options:

Option Description
ApiCallExceptionOption Control level of URL Details are shown in Exceptions from calls to the API
AllowDeleteOfBoards Controls if it is allowed to delete Boards (secondary confirmation)

Features of the API

Action Features

Method Description Trello API Reference
GetActionsOfBoardAsync Get the most recent Actions (Changelog Events) of a board
GetActionsOnCardAsync Get the most recent Actions (Changelog Events) on a Card

Attachment Features

Board Features

Card Features

Checklist Features

Comments Features

Cover Features

Custom Field Features

Generic Features

Label Features

List Features

Member Features

Membership Features

Organization Features

Sticker Features

Wehook Features

Clone this wiki locally