-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Luis edited this page Jan 30, 2019
·
14 revisions
Welcome to the Wiki! Here, you will find all the documentation for the API!
This is a project that I started a while ago, and I am very happy to release it!
Discord: https://discord.gg/RBhP6Ad
Every script in the repository is a module script.
To start, simply require() the script named "Main" like this:
local Trello = require(pathToMain)
Open auth, and place your token and key where indicated.
Trello.new(className, name, parent)
is the constructor for every class in the API.
- className - string - specifies what type of object to create
- name - string - sets the initial name of the object
- parent - object - only used to create a List or a Card, must be a Board or a List object, respectively.
The function creates a new element in Trello, and returns the corresponding object.
Trello:GetBoardByName(name)
If a board is found with the specified name, returns the board object, else, returns nil.