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
  • Getting our BoardID
  • Initializing the Module
  1. Legacy Versions
  2. V0.14

Setting Up

On this page, we'll tell you how to get the module and setup the TrelloAPI.

PreviousV0.14NextAPI Objects

Last updated 2 years ago

Getting the Module

You are able to get the module from our GitHub repository. We originally had the option to get it from the Roblox Marketplace/Asset Store, but I decided to remove it.

Once you get the module, you can either store it in ReplicatedStorage or ServerScriptService.

We have designed this module so it uses a secure system that protects the Trello key and token from being accessed by exploiters.

Getting our Trello API Info

So assuming that you already have a account, we should be able to get our Trello API info. To do this, we have to head to the page.

Below, you should see small header of Personal Key. Copy that and store it in your script as a variable.

Next, we need our token. To get this, on the same page look for the small header of Token. It should be right under the Personal Key header. You should see Authorize and Token linked in the same text. Make sure you click Token.

Once you click that, scroll down and click Allow. It should then show your Token that you can store in your script as another variable.

Getting our BoardID

To use most of the functions in this module, we need to get our BoardID. Luckily, this is quite simple. First of all, go to your Trello board page and look in the URL.

Do you see w0j1CQz2? That's our BoardID.

Initializing the Module

Now, there comes the part where we actually use the module. Below,, you can see an example on how we would use the module.

local TrelloModule = require(Path.To.Module) -- requiring the module

local TrelloKey = 'ExampleKey' -- our Trello key variable
local TrelloToken = 'ExampleToken' -- our Trello token variable
local BoardID = 'ExampleBoardID' -- our Trello BoardID

local Trello = TrelloModule.new(TrelloKey, TrelloToken) -- us creating a new Trello object

There we go! We've successfully created our Trello object. If you test the game, you should see in the console TrelloAPI successfully initiated. If it shows an error, you most likely didn't provide the right key and token.

MAKE SURE TO ENABLE HTTP REQUESTS IN GAME SETTINGS

GitHub
Trello
App Key