-
-
Notifications
You must be signed in to change notification settings - Fork 4
GetPluginDataOfBoardAsync
This method retrieves all plugin data associated with a specific Trello board. Plugin data represents information stored by Power-Ups (plugins) that are enabled on the board. The returned data includes details for each plugin, with the value field containing JSON strings that represent the plugin-specific data. Users are responsible for deserializing these JSON strings to access the plugin-specific information. This method is useful for accessing and analyzing plugin data for boards, but note that the API does not support adding, updating, or removing plugin data.
async Task<List<PluginData>> GetPluginDataOfBoardAsync(string boardId)-
boardIdThe unique identifier of the board whose plugin data is to be retrieved.
List<PluginData> A collection of plugin data objects, each containing information about a specific plugin enabled on the board. The value field in each object is a JSON string that requires deserialization to access plugin-specific details.
// Example 1: Retrieve plugin data for a specific board.
string boardId = "<your_board_id>";
List<PluginData> pluginData = await trelloClient.GetPluginDataOfBoardAsync(boardId);
foreach (PluginData data in pluginData)
{
Console.WriteLine($"Plugin ID: {data.PluginId}, Data: {data.Value}");
}If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')