Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
3

New to Trello - anyone able to help, please?

Asked by
KrizoXI 30
9 years ago

I'm using the often used TrelloAPI and trying to make a crew system where you can create a crew (using a group that YOU must own).

I already have a working button that will create your crew as long as you own it.

create = script.Parent
frame = create.Parent
id = frame.groupID
plr = script.Parent.Parent.Parent.Parent.Parent.Parent

local ap = require(game.Workspace.TrelloAPI)


create.MouseButton1Click:connect(function()
    if plr:GetRankInGroup(tonumber(id.Text)) == 255 then
        local group = game:GetService("GroupService"):GetGroupInfoAsync(tonumber(id.Text))
        local BoardID = ap:GetBoardID("Crews")
        local ListID = ap:GetListID("Crews",BoardID)

        local id = id.Text

        local CardID = ap:AddCard("[C] " .. group.Name, id, ListID)
    else
        print("Player is NOT the owner group " .. id.Text)
    end
end)

What I'm trying to attempt to do is make a script that updates every 20 seconds, grabbing all cards in the Trello list "Crews" and getting the ID (which is in the description of the cards). If there's a player in the game (or a player joins) that's in that group, they'll get something.

I know how to do the part where it shows that they're in the group, but is anyone able to help me out with the Trello part of this?

Thank you in advance.

0
Wait, you can communicate with Trello through Roblox? :o AwsomeSpongebob 350 — 9y
2
@Awsome Yes. @Krizo Many people aren't familiar with this pre-set API some user created. There are a lot of ways this could go wrong, if you're not using your own code. Shawnyg 4330 — 9y

1 answer

Log in to vote
0
Answered by 8 years ago

TrelloAPI must be in serverscriptstorage...

Ad

Answer this question