:GetCardsInList()

Gets all cards in a list.

Example usage and parameters:

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

--[[
    @param ListID string -- The list's ID.
    @return table or false -- Returns a table of all cards, or false if fails.
--]]
local Cards = CardsAPI:GetCardsInList(ListID)

for _, Card in pairs(Cards) do
    print(Card.name)
end

Last updated