TrelloDotNet 2.0.5
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package TrelloDotNet --version 2.0.5
NuGet\Install-Package TrelloDotNet -Version 2.0.5
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="2.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TrelloDotNet" Version="2.0.5" />
<PackageReference Include="TrelloDotNet" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TrelloDotNet --version 2.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TrelloDotNet, 2.0.5"
#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.
#:package TrelloDotNet@2.0.5
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TrelloDotNet&version=2.0.5
#tool nuget:?package=TrelloDotNet&version=2.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TrelloDotNet
Welcome to TrelloDotNet - A .NET Implementation of the Trello REST API
Features
- A TrelloClient for CRUD operations on the Trello features
- An Automation Engine and Webhook Data Receiver for handling Webhook Events
Getting Started
- Install the 'TrelloDotNet' NuGet Package (
dotnet add package TrelloDotNet) - Retrieve your API-Key and Token from the PowerUps Administration
- Create a new instance of the
TrelloClient(located in the namespace 'TrelloDotNet') - Locate you IDs of your Boards, List, and Cards (see video here or at the end of this ReadMe)
- 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 all boards that the Token Owner can Access
List<Board> boards = await client.GetBoardsCurrentTokenCanAccessAsync();
//Get a specific board
Board board = await client.GetBoardAsync("<boardId>");
//Get Lists on a board
List<List> lists = await client.GetListsOnBoardAsync("<boardId>");
//Get Cards on Board
List<Card> cardsOnBoard = await trelloClient.GetCardsOnBoardAsync("<boardId>");
//Get Cards in a specific List
List<Card> cardsInList = await trelloClient.GetCardsInListAsync("<listId>");
//Get a specific card
Card card = await client.GetCardAsync("<cardId>");
//Add a card (Simple)
AddCardOptions newCardOptions = new AddCardOptions("<listId>", "My Card", "My Card description");
Card newCard = await client.AddCardAsync(newCardOptions);
//Add a Card (Advanced with all options set)
Card newAdvancedCard = await client.AddCardAsync(new AddCardOptions
{
//Mandatory options
ListId = "<listId>",
Name = "My Card",
//Optional options
Description = "Description of My Card",
Start = DateTimeOffset.Now,
Due = DateTimeOffset.Now.AddDays(3),
Cover = new CardCover(CardCoverColor.Blue, CardCoverSize.Normal),
LabelIds = new List<string>
{
"<labelId1>",
"<labelId2>",
},
MemberIds = new List<string>
{
"<memberId1>",
"<memberId2>"
},
Checklists = new List<Checklist>
{
new Checklist("Checklist 1", new List<ChecklistItem>
{
new ChecklistItem("Item 1"),
new ChecklistItem("Item 2"),
new ChecklistItem("Item 3")
}),
new Checklist("Checklist 2", new List<ChecklistItem>
{
new ChecklistItem("Item A"),
new ChecklistItem("Item B"),
new ChecklistItem("Item C")
}),
},
AttachmentUrlLinks = new List<AttachmentUrlLink>
{
new AttachmentUrlLink("https://www.google.com", "Google")
},
AttachmentFileUploads = new List<AttachmentFileUpload>
{
new AttachmentFileUpload(File.OpenRead(@"<pathToFile>"), "<Filename>", "<FileDescription>")
},
CustomFields = new List<AddCardOptionsCustomField>
{
new AddCardOptionsCustomField(customField1OnBoard, "ABC"),
new AddCardOptionsCustomField(customField2OnBoard, 123),
}
});
//Update a Card (with new name and description and removal of Due Date)
var updateCard = await TrelloClient.UpdateCardAsync("<cardId>", [
CardUpdate.Name("New Name"),
CardUpdate.Description("New Description"),
CardUpdate.DueDate(null),
]);
//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
- Trello Developer Fundamentals
- TrelloDotNet
Handy links
- Wiki
- Changelog
- Report an issue
- Report a security concern
- TrelloDotNet Nuget Package
- Developers LinkedIn Group
- Power-Up to locate Ids
- Trello API YouTube Playlist
- Power-Ups Admin Center for API Keys and Tokens
- Trello API Documentation
- Trello Changelog
- How to build your first Power-Up
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)

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

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

Have Fun 😃
| Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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.
-
.NETStandard 2.0
- System.Text.Json (>= 8.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on TrelloDotNet:
| Repository | Stars |
|---|---|
|
rwjdk/MicrosoftAgentFrameworkSamples
Samples demonstrating the Microsoft Agent Framework in C#
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.8.0 | 1,200 | 4/15/2026 |
| 2.7.0 | 375 | 4/4/2026 |
| 2.6.0 | 249 | 3/30/2026 |
| 2.5.0 | 366 | 3/26/2026 |
| 2.4.0 | 112 | 3/24/2026 |
| 2.3.0 | 2,532 | 3/3/2026 |
| 2.2.0 | 977 | 2/3/2026 |
| 2.1.3 | 163 | 1/28/2026 |
| 2.1.2 | 4,968 | 10/13/2025 |
| 2.1.1 | 3,418 | 7/9/2025 |
| 2.1.0 | 382 | 7/6/2025 |
| 2.0.9 | 388 | 6/26/2025 |
| 2.0.8 | 298 | 6/24/2025 |
| 2.0.7 | 236 | 6/24/2025 |
| 2.0.6 | 662 | 6/17/2025 |
| 2.0.5 | 2,722 | 4/8/2025 |
| 2.0.4 | 493 | 4/1/2025 |
| 2.0.3 | 912 | 3/18/2025 |
| 2.0.2 | 474 | 3/12/2025 |
| 2.0.1 | 380 | 3/11/2025 |
Loading failed