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

Why does this code to print out the data that GetCardsInList() with the TrelloAPI not work?

Asked by 4 years ago

I've been working with the TrelloAPI lately and this code does not work.

local TrelloAPI= require(game.ServerScriptService:WaitForChild("TrelloAPI")) local BoardID = TrelloAPI:GetBoardID("B-7 Team Board tsaadfad") local ListID = TrelloAPI:GetListID("Members",BoardID) local BetaMembers = TrelloAPI:GetCardsInList(ListID)

print(BetaMembers)

Instead of printing out the data, it prints out

table: 0xbc09c15a7552259c

1 answer

Log in to vote
0
Answered by
royaltoe 5144 Moderation Voter Community Moderator
4 years ago
Edited 4 years ago

You're getting the cards in the list. This seems to return a table of all the cards which is why it's printing out "table: (pointer of table in hexadecimal)"

If the table you're printing out IS a card in the table, then maybe it's returning a table of the card's information. You can check yourself by either printing out it's contents or using breakpoints and hovering over to see the contents of the variable

Ad

Answer this question