Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

TrelloAPI not working. Help?

Okay. I tried doing this and it isn't working. I followed everything the man did in the tutorial. HttpService is Enabled. What am I doing wrong?

------

ap = require(game.Workspace.TrelloAPI)
BoardID = ap:GetBoardID("Testing Board")
ListID = ap:GetListID("Pending Calls")

-------


script.Parent.MouseButton1Down:connect(function()
	CardID = ap:AddCard("Hello Youtube!","This is a Description",BoardID)
end)

~Stix92

1 comment

0

Are you sure you've added the Module Script?

1 answer

✓ Accepted answer

I noticed two mistakes in your code:

  1. In line 5, you didn't use BoardID as the second parameter to GetListID, as expected by the API
  2. In line 11, you didn't use ListID as the third parameter to AddCard, as expected by the API

Thus, this should work:

------

ap = require(game.Workspace.TrelloAPI)
BoardID = ap:GetBoardID("Testing Board")
ListID = ap:GetListID("Pending Calls",BoardID)

-------


script.Parent.MouseButton1Down:connect(function()
    CardID = ap:AddCard("Hello Youtube!","This is a Description",ListID)
end)

Hope I helped.

This discussion is preserved as it was. New answers, comments, and votes are closed.