TrelloDotNet 1.6.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package TrelloDotNet --version 1.6.5                
NuGet\Install-Package TrelloDotNet -Version 1.6.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="1.6.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TrelloDotNet --version 1.6.5                
#r "nuget: TrelloDotNet, 1.6.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.
// Install TrelloDotNet as a Cake Addin
#addin nuget:?package=TrelloDotNet&version=1.6.5

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

NuGet Badge WIKI Changelog YouTube Rest API API Keys Trello Developers LinkedIn Group

TrelloDotNet

Welcome to TrelloDotNet; a modern .NET Implementation of the Trello API.

Features

How to get started

  1. Install the 'TrelloDotNet' NuGet Package (dotnet add package TrelloDotNet)
  2. Retrieve your API-Key and Token
  3. Create new instance of TrelloDotNet.TrelloClient
  4. Locate you Ids of you 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 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
var input = new Card("<listId>", "My Card", "My Card description");
//todo - add more about the card 
var newCard = await client.AddCardAsync(input);

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

Version History

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

  • or use the API itself or 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

More info, bugs, or questions?

Visit the Github Page: https://github.com/rwjdk/TrelloDotNet

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.3 111 11/2/2024
1.11.2 234 10/9/2024
1.11.1 95 10/5/2024
1.11.0 188 9/17/2024
1.10.9 112 9/17/2024
1.10.8 118 9/3/2024
1.10.7 175 8/28/2024
1.10.6 710 7/30/2024
1.10.5 128 7/10/2024
1.10.4 176 6/22/2024
1.10.3 465 5/29/2024
1.10.2 148 5/22/2024
1.10.1 108 5/15/2024
1.10.0 164 4/30/2024
1.9.9 833 2/16/2024
1.9.8 129 1/21/2024
1.9.7 225 12/23/2023
1.9.6 138 12/21/2023
1.9.5 702 11/13/2023
1.9.4 193 11/1/2023
1.9.3 308 10/26/2023
1.9.2 234 10/12/2023
1.9.1 113 10/11/2023
1.9.0 233 10/3/2023
1.9.0-preview.3 76 10/2/2023
1.9.0-preview.2 98 10/2/2023
1.9.0-preview.1 79 9/30/2023
1.9.0-alpha.5 157 9/24/2023
1.9.0-alpha.4 76 9/23/2023
1.9.0-alpha.3 80 9/22/2023
1.9.0-alpha.2 76 9/21/2023
1.9.0-alpha.1 82 9/21/2023
1.8.0 499 8/27/2023
1.7.2 189 8/23/2023
1.7.1 178 8/23/2023
1.7.0 450 8/5/2023
1.6.9 413 7/8/2023
1.6.8 203 7/7/2023
1.6.7 188 7/5/2023
1.6.6 287 6/12/2023
1.6.5 197 6/12/2023
1.6.4 222 6/9/2023
1.6.3 206 6/7/2023
1.6.2 213 6/4/2023
1.6.1 217 5/31/2023
1.6.0 248 5/12/2023
1.5.2 258 4/30/2023
1.5.1 220 4/27/2023
1.5.0 244 4/27/2023
1.4.0 311 4/3/2023
1.3.1 237 3/30/2023
1.3.0 292 3/27/2023
1.3.0-alpha.4 112 3/13/2023
1.3.0-alpha.3 96 3/9/2023
1.3.0-alpha.2 98 3/7/2023
1.3.0-alpha 167 3/6/2023
1.2.1 1,445 2/25/2023
1.2.0 307 2/23/2023
1.1.1 309 2/17/2023
1.1.0 337 2/8/2023
1.0.0 344 2/6/2023
0.9.6-alpha 191 2/5/2023
0.9.5-alpha 167 2/4/2023
0.9.4-alpha 176 2/4/2023
0.9.3-alpha 183 2/3/2023
0.9.2-alpha 189 2/3/2023
0.9.1-alpha 173 2/3/2023