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

nstrike159's Trello API module not working?

Asked by 5 years ago

I'm trying to use nstrike159's Trello API module (https://www.roblox.com/library/214265621/Trello-API-Original). Using the following script as an example:

trello = require(game.ServerScriptService:WaitForChild("TrelloAPI"))
local boardid = trello:GetBoardID("Board Name")
print("Board ID found: "..boardid)
print("Hello!")

After trying to set boardid, nothing runs after that. Nothing is printed, including Hello!. Does anybody know why this is? I don't receive any errors or warns. I have set the Token value that is a child of the ModuleScript. I've waited for minutes and nothing happens.

0
is there some sort of wait() inside the getBoardID function? royaltoe 5144 — 5y
0
might be dumb but is the script disabled/in some storage where it can't run by any chance? print something at the top of the script. royaltoe 5144 — 5y
0
i've tried printing at the top of the script, it gets printed fine so its running. it's in ServerScriptService. hpenney2 53 — 5y
View all comments (2 more)
0
print something right after trello as well royaltoe 5144 — 5y
0
prints after requiring the module hpenney2 53 — 5y

1 answer

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

Turns out we were dumb and were using the API wrong. You have to insert your API key on line 42. Since we didn't do that, the script went into an infinite loop. Fixed though.

Ad

Answer this question