TrelloDotNet 1.11.4

dotnet add package TrelloDotNet --version 1.11.4                
NuGet\Install-Package TrelloDotNet -Version 1.11.4                
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.11.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TrelloDotNet --version 1.11.4                
#r "nuget: TrelloDotNet, 1.11.4"                
#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.11.4

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

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.11.4 0 11/25/2024
1.11.3 135 11/2/2024
1.11.2 261 10/9/2024
1.11.1 99 10/5/2024
1.11.0 205 9/17/2024
1.10.9 114 9/17/2024
1.10.8 120 9/3/2024
1.10.7 192 8/28/2024
1.10.6 753 7/30/2024
1.10.5 130 7/10/2024
1.10.4 178 6/22/2024
1.10.3 507 5/29/2024
1.10.2 150 5/22/2024
1.10.1 110 5/15/2024
1.10.0 166 4/30/2024
1.9.9 855 2/16/2024
1.9.8 133 1/21/2024
1.9.7 229 12/23/2023
1.9.6 140 12/21/2023
1.9.5 704 11/13/2023
1.9.4 195 11/1/2023
1.9.3 310 10/26/2023
1.9.2 236 10/12/2023
1.9.1 115 10/11/2023
1.9.0 235 10/3/2023
1.9.0-preview.3 78 10/2/2023
1.9.0-preview.2 100 10/2/2023
1.9.0-preview.1 81 9/30/2023
1.9.0-alpha.5 159 9/24/2023
1.9.0-alpha.4 78 9/23/2023
1.9.0-alpha.3 84 9/22/2023
1.9.0-alpha.2 78 9/21/2023
1.9.0-alpha.1 84 9/21/2023
1.8.0 501 8/27/2023
1.7.2 191 8/23/2023
1.7.1 180 8/23/2023
1.7.0 453 8/5/2023
1.6.9 415 7/8/2023
1.6.8 205 7/7/2023
1.6.7 190 7/5/2023
1.6.6 289 6/12/2023
1.6.5 199 6/12/2023
1.6.4 224 6/9/2023
1.6.3 208 6/7/2023
1.6.2 215 6/4/2023
1.6.1 219 5/31/2023
1.6.0 250 5/12/2023
1.5.2 260 4/30/2023
1.5.1 222 4/27/2023
1.5.0 246 4/27/2023
1.4.0 313 4/3/2023
1.3.1 239 3/30/2023
1.3.0 294 3/27/2023
1.3.0-alpha.4 114 3/13/2023
1.3.0-alpha.3 98 3/9/2023
1.3.0-alpha.2 100 3/7/2023
1.3.0-alpha 169 3/6/2023
1.2.1 1,447 2/25/2023
1.2.0 309 2/23/2023
1.1.1 311 2/17/2023
1.1.0 339 2/8/2023
1.0.0 348 2/6/2023
0.9.6-alpha 193 2/5/2023
0.9.5-alpha 169 2/4/2023
0.9.4-alpha 178 2/4/2023
0.9.3-alpha 185 2/3/2023
0.9.2-alpha 191 2/3/2023
0.9.1-alpha 175 2/3/2023