BoardsAPI
How to Use
local Trello = TrelloModule.new(TrelloKey, TrelloToken) -- Initializing the module
local TrelloLists = Trello.Boards -- Intializing the BoardsAPI
Functions
TrelloLists:GetBoard(BoardID)
Gets a board's information.
BoardID
is the ID of the board you want to get the info from.
This function returns the board's information, or returns false if it fails.
local Trello = TrelloModule.new(TrelloKey, TrelloToken) -- Initializing the module
local TrelloBoards = Trello.Boards -- Initializing the BoardsAPI
local BoardInfo = TrelloBoards:GetBoard('BoardID')
if not BoardInfo then
print('Failed to Get Board')
else
print(BoardInfo.name)
end
Last updated