TrelloDotNet 1.9.9

There is a newer version of this package available.
See the version list below for details.
dotnet add package TrelloDotNet --version 1.9.9
NuGet\Install-Package TrelloDotNet -Version 1.9.9
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TrelloDotNet" Version="1.9.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TrelloDotNet --version 1.9.9
#r "nuget: TrelloDotNet, 1.9.9"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TrelloDotNet as a Cake Addin
#addin nuget:?package=TrelloDotNet&version=1.9.9

// Install TrelloDotNet as a Cake Tool
#tool nuget:?package=TrelloDotNet&version=1.9.9

NuGet WIKI Changelog YouTube Rest API API Keys

Welcome to TrelloDotNet - a .NET wrapper of the Trello REST API.

Features

Getting Started

  1. Install the 'TrelloDotNet' NuGet Package (dotnet add package TrelloDotNet)
  2. Retrieve your API-Key and Token
  3. Create new instance of the TrelloClient (located in namespace 'TrelloDotNet')
  4. Locate you Ids of your Boards, List, and Cards (see video here or at the end on this ReadMe)
  5. Use the TrelloClient based on the examples below and/or the Wiki.

Examples of Usage:

TrelloClient client = new TrelloDotNet.TrelloClient("APIKey", "TOKEN"); //IMPORTANT: Remember to NOT leave Key and Token in clear text!

//Get a board
Board board = await client.GetBoardAsync("<boardId>");

//Get Lists on a board
List<List> lists = await client.GetCardsOnBoardAsync("<boardId>");

//Get a card
Card card = await client.GetCardAsync("<cardId>");

//Get Cards on Board
List<Card> cardsOnBoard = await trelloClient.GetCardsOnBoardAsync("<boardId>");

//Get Cards in List
List<Card> cardsInList = await trelloClient.GetCardsInListAsync("<listId>");

//Add a card
Card input = new Card("<listId>", "My Card", "My Card description");
//todo - add more about the card 
Card newCard = await client.AddCardAsync(input);

//Add a Checklist to a card
var checklistItems = new List<ChecklistItem>
{
    new("ItemA"),
    new("ItemB"),
    new("ItemC")
};
Checklist newChecklist = new Checklist("Sample Checklist", checklistItems);
Checklist addedChecklist = await client.AddChecklistAsync("<cardId>", newChecklist);

Video Guides

On the subject of getting Ids from Trello

The easiest way to get Ids in Trello is to use this Power-Up to copy/paste them (Recommended)

API Developer ID Helper Power-Up

Alternative use the share buttons in the project (require no Power-Up but more cumbersome)

Trello Board

The Export looks like this (search for id or use a tool to pretty-print the JSON to get a better view)

JSON Example

Have Fun 😃

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.10.0 49 4/30/2024
1.9.9 508 2/16/2024
1.9.8 102 1/21/2024
1.9.7 189 12/23/2023
1.9.6 107 12/21/2023
1.9.5 654 11/13/2023
1.9.4 163 11/1/2023
1.9.3 272 10/26/2023
1.9.2 204 10/12/2023
1.9.1 84 10/11/2023
1.9.0 200 10/3/2023
1.9.0-preview.3 61 10/2/2023
1.9.0-preview.2 85 10/2/2023
1.9.0-preview.1 63 9/30/2023
1.9.0-alpha.5 111 9/24/2023
1.9.0-alpha.4 62 9/23/2023
1.9.0-alpha.3 64 9/22/2023
1.9.0-alpha.2 59 9/21/2023
1.9.0-alpha.1 65 9/21/2023
1.8.0 467 8/27/2023
1.7.2 157 8/23/2023
1.7.1 146 8/23/2023
1.7.0 419 8/5/2023
1.6.9 383 7/8/2023
1.6.8 176 7/7/2023
1.6.7 159 7/5/2023
1.6.6 258 6/12/2023
1.6.5 162 6/12/2023
1.6.4 193 6/9/2023
1.6.3 181 6/7/2023
1.6.2 188 6/4/2023
1.6.1 191 5/31/2023
1.6.0 221 5/12/2023
1.5.2 223 4/30/2023
1.5.1 195 4/27/2023
1.5.0 216 4/27/2023
1.4.0 281 4/3/2023
1.3.1 214 3/30/2023
1.3.0 263 3/27/2023
1.3.0-alpha.4 101 3/13/2023
1.3.0-alpha.3 87 3/9/2023
1.3.0-alpha.2 88 3/7/2023
1.3.0-alpha 146 3/6/2023
1.2.1 1,411 2/25/2023
1.2.0 284 2/23/2023
1.1.1 285 2/17/2023
1.1.0 303 2/8/2023
1.0.0 320 2/6/2023
0.9.6-alpha 167 2/5/2023
0.9.5-alpha 148 2/4/2023
0.9.4-alpha 145 2/4/2023
0.9.3-alpha 161 2/3/2023
0.9.2-alpha 168 2/3/2023
0.9.1-alpha 150 2/3/2023