Cards API
This page describes all the functions concerning the Cards on Trello.
How can I access the functions of this category?
[ 1 ] - Open a ServerScript [ 2 ] - Look at the following script. (Example script to understand how to access a category and to a function)
-- // Require TrelloAPI Module
local TrelloAPI = require(game.ServerScriptService:WaitForChild("TrelloAPI"))
-- // Access to the category
TrelloAPI.CardsAPI.[FunctionName]CreateCard(Name, ListId, BoardOptionalData)
Create a Card in Specific List , Return true if the function is successful false if the function fail.
TrelloAPI.CardsAPI.CreateCard("EXAMPLE_CARD_NAME", "ID_LIST", {
["Description"] = "You're Fantastic Card Description", --> Type: String
["idLabels"] = {'MyLabels1','MyLabel2'}, --> Type: Array (Table)
["AttachmentLink"] = "https://roblox.com" --> Type: String
})UpdateCard(CardId, BoardOptionalData)
Update an existing card, Return true if the function is successful false if the function fail.
DeleteCard(CardId)
Delete from list an existing card, Return true if the function is successful false if the function fail.
CreateAttachmentOnCard(CardId,AttachmentUrl)
Create an CreateAttachment on a specific card, Only URL are supported, Return true if the function is successful false if the function fail.
DeleteAttachmentOnCard(CardId,Attachmentid)
Delete an Attachment from an existing card, Return true if the function is successful false if the function fail.
GetCardOnList(BoardId,CardName)
Find a specific card, if found return id of the card (String), Return false if the function fail.
GetCardsOnList(ListId)
Return all the cards on the list, Return false if the function fail.
GetAttachmentsOnCard(CardId)
Return the Attachments Datas for the card, Return false if the function fail.
Last updated