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
  • Getting the Module
  • Getting our Trello API Info
  • Using the Module

Getting Started

PreviousQVGK's TrelloAPINextAPI Modules

Last updated 2 years ago

This is for the latest version of the TrelloAPI module. If you're looking for an older version, check the Legacy Versions tab on the left.

Getting the Module

Before we begin, we'll of course need to get the module. To do this, we just need to go to one of the sources listed below.

Once you get the .rbxm file, you can import it to your game by using the "Import Model" button in Studio.

Getting our Trello API Info

So assuming that you already have a account, we need to get our Trello API Information. To do this, we need to visit the page. Scroll down a bit and you should see the Personal Key section.

Store that somewhere. Now we need your Token. We can get that by looking down a bit. It should be right under the Personal Key section.

Click on the red text shown above, and follow the instructions on how to get your Token. Store that somewhere as well.

Using the Module

Now that we have everything we need (for now), we can start to use the module. First, we'll need to initialize it. An example is shown below on how to do it.

local TrelloModule = require(PATH.TO.MODULE)

--[[
    @param TrelloKey string -- The Trello API Key
    @param TrelloToken string -- The Trello API Token
    @param DebugEnabled boolean -- Wether or not to enable debugging
    @return table -- Returns different API modules
--]]
local TrelloAPI = TrelloModule.new(TrelloKey, TrelloToken, DebugEnabled)

We have now created our TrelloAPI object, but how do we use this? Every category of functions are called "modules". To initiate these modules, it's quite simple.

local TrelloModule = require(PATH.TO.MODULE)

local TrelloAPI = TrelloModule.new(TrelloKey, TrelloToken, DebugEnabled)

local BoardsAPI = TrelloAPI.Boards -- Trello boards module
local ListsAPI = TrelloAPI.Lists -- Trello lists module
local CardsAPI = TrelloAPI.Cards -- Trello cards module

MAKE SURE TO ENABLE HTTP REQUESTS IN-GAME

GitHub Latest
GitHub Pre-Release
Trello
App Keys