:GetCardByName()

Get a card's information by name.

Example usage and parameters:

local BoardID = 'w0j1CQz2'
local ListID = ListsAPI:GetListID(BoardID, 'Example List')
local CardName = 'Example Card'

--[[
    @param ListID string -- The list's ID.
    @param CardName string -- The card's name.
    @return table or false -- Returns the card's info, or false if fails.
--]]
local Card = CardsAPI:GetCardByName(ListID, CardName)

print(Card.id)

Last updated