:GetListID()

Gets a list's ID from name.

Example usage and parameters:

local BoardID = 'w0j1CQz2'
local ListName = 'Example List'

--[[
    @param BoardID string -- The board's ID.
    @param ListName string -- The name of the list.
    @return string or false -- Returns list ID, or false if fails.
--]]
local ListID = ListsAPI:GetListID(BoardID, ListName)

if ListID then
    print("The list's ID is "..ListID)
end

Last updated