TrelloDotNet 2.1.1
dotnet add package TrelloDotNet --version 2.1.1
NuGet\Install-Package TrelloDotNet -Version 2.1.1
<PackageReference Include="TrelloDotNet" Version="2.1.1" />
<PackageVersion Include="TrelloDotNet" Version="2.1.1" />
<PackageReference Include="TrelloDotNet" />
paket add TrelloDotNet --version 2.1.1
#r "nuget: TrelloDotNet, 2.1.1"
#:package TrelloDotNet@2.1.1
#addin nuget:?package=TrelloDotNet&version=2.1.1
#tool nuget:?package=TrelloDotNet&version=2.1.1
TrelloDotNet
Welcome to TrelloDotNet - A .NET implementation of the Trello REST API
Features
- A TrelloClient for CRUD operations on Trello features
- An Automation Engine and Webhook Data Receiver for handling webhook events
Getting Started
To get started you can either follow the steps below or use the TrelloDotNet MCP Server to let AI assist you and Vibe Code the whole thing 😎
- 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 your IDs of your Boards, Lists, 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 a 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
{
//Required 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).
Alternatively, use the share buttons in the project (requires no Power-Up but is 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. |
-
.NETStandard 2.0
- System.Text.Json (>= 8.0.5)
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 |
---|---|---|
2.1.1 | 126 | 7/9/2025 |
2.1.0 | 189 | 7/6/2025 |
2.0.9 | 251 | 6/26/2025 |
2.0.8 | 168 | 6/24/2025 |
2.0.7 | 131 | 6/24/2025 |
2.0.6 | 404 | 6/17/2025 |
2.0.5 | 1,873 | 4/8/2025 |
2.0.4 | 389 | 4/1/2025 |
2.0.3 | 770 | 3/18/2025 |
2.0.2 | 354 | 3/12/2025 |
2.0.1 | 268 | 3/11/2025 |
2.0.0 | 371 | 3/5/2025 |
2.0.0-preview.4 | 75 | 3/2/2025 |
2.0.0-preview.3 | 196 | 2/26/2025 |
2.0.0-preview.2 | 67 | 2/26/2025 |
2.0.0-preview.1 | 101 | 2/17/2025 |
1.11.13 | 223 | 3/4/2025 |
1.11.12 | 137 | 3/2/2025 |
1.11.11 | 315 | 2/21/2025 |
1.11.10 | 890 | 1/27/2025 |
1.11.9 | 106 | 1/26/2025 |
1.11.8 | 129 | 1/19/2025 |
1.11.7 | 383 | 1/10/2025 |
1.11.6 | 303 | 1/5/2025 |
1.11.5 | 626 | 11/29/2024 |
1.11.4 | 176 | 11/25/2024 |
1.11.3 | 182 | 11/2/2024 |
1.11.2 | 522 | 10/9/2024 |
1.11.1 | 132 | 10/5/2024 |
1.11.0 | 386 | 9/17/2024 |
1.10.9 | 146 | 9/17/2024 |
1.10.8 | 148 | 9/3/2024 |
1.10.7 | 686 | 8/28/2024 |
1.10.6 | 884 | 7/30/2024 |
1.10.5 | 196 | 7/10/2024 |
1.10.4 | 211 | 6/22/2024 |
1.10.3 | 951 | 5/29/2024 |
1.10.2 | 180 | 5/22/2024 |
1.10.1 | 137 | 5/15/2024 |
1.10.0 | 195 | 4/30/2024 |
1.9.9 | 1,019 | 2/16/2024 |
1.9.8 | 156 | 1/21/2024 |
1.9.7 | 260 | 12/23/2023 |
1.9.6 | 165 | 12/21/2023 |
1.9.5 | 730 | 11/13/2023 |
1.9.4 | 208 | 11/1/2023 |
1.9.3 | 328 | 10/26/2023 |
1.9.2 | 257 | 10/12/2023 |
1.9.1 | 134 | 10/11/2023 |
1.9.0 | 255 | 10/3/2023 |
1.9.0-preview.3 | 95 | 10/2/2023 |
1.9.0-preview.2 | 117 | 10/2/2023 |
1.9.0-preview.1 | 97 | 9/30/2023 |
1.9.0-alpha.5 | 178 | 9/24/2023 |
1.9.0-alpha.4 | 93 | 9/23/2023 |
1.9.0-alpha.3 | 108 | 9/22/2023 |
1.9.0-alpha.2 | 95 | 9/21/2023 |
1.9.0-alpha.1 | 102 | 9/21/2023 |
1.8.0 | 532 | 8/27/2023 |
1.7.2 | 224 | 8/23/2023 |
1.7.1 | 213 | 8/23/2023 |
1.7.0 | 528 | 8/5/2023 |
1.6.9 | 445 | 7/8/2023 |
1.6.8 | 239 | 7/7/2023 |
1.6.7 | 222 | 7/5/2023 |
1.6.6 | 320 | 6/12/2023 |
1.6.5 | 232 | 6/12/2023 |
1.6.4 | 256 | 6/9/2023 |
1.6.3 | 238 | 6/7/2023 |
1.6.2 | 246 | 6/4/2023 |
1.6.1 | 262 | 5/31/2023 |
1.6.0 | 289 | 5/12/2023 |
1.5.2 | 301 | 4/30/2023 |
1.5.1 | 261 | 4/27/2023 |
1.5.0 | 279 | 4/27/2023 |
1.4.0 | 347 | 4/3/2023 |
1.3.1 | 270 | 3/30/2023 |
1.3.0 | 335 | 3/27/2023 |
1.3.0-alpha.4 | 143 | 3/13/2023 |
1.3.0-alpha.3 | 129 | 3/9/2023 |
1.3.0-alpha.2 | 134 | 3/7/2023 |
1.3.0-alpha | 205 | 3/6/2023 |
1.2.1 | 1,479 | 2/25/2023 |
1.2.0 | 351 | 2/23/2023 |
1.1.1 | 347 | 2/17/2023 |
1.1.0 | 376 | 2/8/2023 |
1.0.0 | 389 | 2/6/2023 |
0.9.6-alpha | 225 | 2/5/2023 |
0.9.5-alpha | 201 | 2/4/2023 |
0.9.4-alpha | 209 | 2/4/2023 |
0.9.3-alpha | 216 | 2/3/2023 |
0.9.2-alpha | 223 | 2/3/2023 |
0.9.1-alpha | 209 | 2/3/2023 |