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
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.