Skip to content
Rasmus Wulff Jensen edited this page Nov 1, 2023 · 11 revisions

Back to Card Features

Get a Card by its Id

Tip: Use this video to find the Id of a Card

Signature

/// <summary>
/// Get Card by its Id
/// </summary>
/// <param name="cardId">Id of the Card</param>
/// <param name="cancellationToken">Cancellation Token</param>
/// <returns>The Card</returns>
public async Task<Card> GetCardAsync(string cardId, CancellationToken cancellationToken = default) {...}

Examples

//Get a card with a specific Id
string cardId = "342423423423423";
TrelloDotNet.Model.Card card = await _trelloClient.GetCardAsync(cardId);
Clone this wiki locally