QVGK's TrelloAPI
  • QVGK's TrelloAPI
  • Getting Started
  • API Modules
    • BoardsAPI
      • :GetBoardByID()
    • ListsAPI
      • :GetListID()
    • CardsAPI
      • :GetCardsInList()
      • :GetCardByName()
      • :CreateCard()
      • :DeleteCard()
  • Legacy Versions
    • V0.14
      • Setting Up
      • API Objects
        • ListsAPI
        • CardsAPI
        • BoardsAPI
Powered by GitBook
On this page
  • How to Use
  • Functions
  • TrelloLists:GetBoard(BoardID)
  1. Legacy Versions
  2. V0.14
  3. API Objects

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
PreviousCardsAPI

Last updated 2 years ago