Trello API [ReMade] • Use Trello easily in your game!

Sure, I will try to implement it as soon as possible, Probably in the next few days.

1 Like

:tada: TrelloAPI Updated!

Change Log:

  • Fixed a bug on “GetListID” Function.
  • Modified and updated “CreateCard” Function.
  • Added “GetAttachmentsOnCard, CreateAttachmentOnCard, DeleteAttachmentOnCard” Function.
  • Updated the Documentation.
  • Update the Version of plugin

For those who are using this module and want to update it to this version, please read this:

I changed the CreateCard function and i removed the Description as Required Argouments, So now you can also add attachments to you’re cards When you create it.
This is the new structure of the function:

-- // Trello API
local TrelloAPI = require(script.Parent:WaitForChild("TrelloAPI"))

-- // CreateCard(Name,ListId,BoardOptionalData)
TrelloAPI.CardsAPI.CreateCard("CardName",'ID_LIST',{
	["Description"] = "You're Fantastic Description",
	["idLabels"] = {'ID1','ID2'},
	["AttachmentLink"] = "https://www.roblox.com"
})

As explained in the documentation you can also not include one or more of these parameters, and you can also not include the BoardOptionalData parameter, in this case a card will be created with only the name in the list you set.

Example of the new function Added:

-- // Get All the Attachment On Cards
local AttachOnCards = TrelloAPI.CardsAPI.GetAttachmentsOnCard("Card_ID")

-- // Create an Attachment on a card
TrelloAPI.CardsAPI.CreateAttachmentOnCard('CARD_ID',"URL_Attachment")

-- // Delete Attachment on a card
TrelloAPI.CardsAPI.DeleteAttachmentOnCard("CARD_ID",'ID_Attachment')

Thank you to @slidingseason For the suggestion of the attachments.

If there are any bugs or you have ideas for improving the code, feel free to post them here, under this message!

How i can Update the TrelloAPI Module? Re-insert it from the toolbox as a Model or update the plugin and re-insert it!

3 Likes

Used the module to make a banlist, but for some reason, it isn’t kicking me if I’m in the banlist, the names are right, yet doesnt want to kick.

local TrelloAPI = require(game.ServerScriptService:WaitForChild("TrelloAPI"))
local BoardID = TrelloAPI.BoardsAPI.GetBoardID("Industry Tycoon")
local ListId = TrelloAPI.BoardsAPI.GetListID(BoardID,"BANNED PLAYERS")

game.Players.PlayerAdded:Connect(function(plr)
	print("A player joined")
	if TrelloAPI.CardsAPI.GetCardOnList(ListId,plr.UserId) then
		print(plr.Name.." is on the ban list!!")
		plr:Kick("Banned")
	else
		print(plr.Name.." is not on ban list!!")
	end	
end)

Im saving the User ID on the list

Hello Try This:

game.Players.PlayerAdded:Connect(function(Plr)
	local TrelloAPI = require(game.ServerScriptService:WaitForChild("TrelloAPI"))
	
	local BoardID = TrelloAPI.BoardsAPI.GetBoardID("Industry Tycoon")
	local ListId = TrelloAPI.BoardsAPI.GetListID(BoardID,"BANNED PLAYERS")

	if TrelloAPI.CardsAPI.GetCardOnList(ListId,tostring(Plr.UserId)) then
		print(Plr.Name.." is on the ban list!!")
		Plr:Kick("Banned")
	else
		print(Plr.Name.." is not on ban list!!")
	end	
end)

Due Some Reason, When Requring the Module At the top of you’re server script and after call a function inside the PlayerAdded Function it’s not working, However, be careful with the requests you send per second / minute, However, I suggest you maybe check this with an event every time

1 Like

Works, thanks.
How should i do this with an event, want to make sure banned users can join the game

Without requiring the module every time you can create a script that every time a player joins from the client sends an event to the server and the server checks if it is banned or not, but as I said be careful, if your game is very big, you risk that if many players enter in a short time you automatically risk abusing the limits of trello. Trello Rate Limits

just a follow up, does this module allow to read the description of a Trello card

Yes!

local TrelloAPI = require(game.ServerScriptService:WaitForChild("TrelloAPI"))

local BoardID = TrelloAPI.BoardsAPI.GetBoardID("BoardName")
local ListId = TrelloAPI.BoardsAPI.GetListID(BoardID,"Test List name")
local CardsOnList = TrelloAPI.CardsAPI.GetCardsOnList(ListId)

-- // Print All The Cards On The List (Name And Description)
for _,ObjCard in pairs(CardsOnList) do
	print("New Card:")
	print("Card Name: ", ObjCard.name)
	print("Card Description: ", ObjCard.desc)
end

print("---------------------------------")

local CardID = TrelloAPI.CardsAPI.GetCardOnList(ListId,"NameOftheCard")
-- // Get Name & Description of a specific card
for _,ObjCard in pairs(CardsOnList) do
	if ObjCard.id == CardID then
		print("Card Name: ", ObjCard.name)
		print("Card Description: ", ObjCard.desc)
	end
end

Let Me know if you have others question!

1 Like

That is all for now, thanks for this amazing resource :smiley:
This will make player management so much easier

1 Like

Roblox never makes things easier, trying to ban, and give reason for said ban, had to change a bit of what you provided

game.Players.PlayerAdded:Connect(function(Plr)
	local TrelloAPI = require(game.ServerScriptService:WaitForChild("TrelloAPI"))

	local BoardID = TrelloAPI.BoardsAPI.GetBoardID("Industry Tycoon")
	local ListId = TrelloAPI.BoardsAPI.GetListID(BoardID,"BANNED PLAYERS")
	

	if TrelloAPI.CardsAPI.GetCardOnList(ListId,Plr.UserId) then
		local Card = TrelloAPI.CardsAPI.GetCardOnList(ListId,Plr.UserId) 
		print(Plr.Name.." is on the ban list!!")
		Plr:Kick("Banned for "..Card.desc)
	else
		print(Plr.Name.." is not on ban list!!")
	end	
end)

While im here, probably should as how to set a card and decription

1 Like

Try this:

function GetBan(Plr)
	local TrelloAPI = require(game.ServerScriptService:WaitForChild("TrelloAPI"))
	
	local BoardID = TrelloAPI.BoardsAPI.GetBoardID("Industry Tycoon")
	local ListId = TrelloAPI.BoardsAPI.GetListID(BoardID,"BANNED PLAYERS")
	local CardID = TrelloAPI.CardsAPI.GetCardOnList(ListId,tostring(Plr.UserId))
	local BanListCards = TrelloAPI.CardsAPI.GetCardsOnList(ListId)

	for _,ObjCard in pairs(BanListCards) do
		if ObjCard.id == CardID then
			print(Plr.Name.." is on the ban list!!")
			Plr:Kick("Banned for ".. ObjCard.desc)
			break;	
		end
	end	
end

game.Players.PlayerAdded:Connect(function(Plr)
	GetBan(Plr)
end)

Hello Developers!

:star: No updates now, but I want to thank you for reaching over 70 sale of the trello API!
We are very happy that our API is being used by Small, Medium and Large Developers, We are also always open to suggestions, or bugs!

Remember to leave a :heart: if you liked this resource.

2 Likes

:warning: • Scams Going Around About Our API.

I recently happened to find our trello API in the toolbox with a name similar to the original one and the same description.

These models are scams, inside there is a script that once requested requires an external module that will infect your game.

The Only And Original Model Is Owned By: Quaerit Services and can be found Here.

Thank you so much for your attention, don’t fall for these scams and first make sure who the models you take come from

:partying_face: Also I Updated the TrelloAPI:

  • Fixed A Bug with Comments API.

PS: Thank you for 85+ Sales! Remember to leave a :heart: to support us!

:rabbit2: Happy Easter!

1 Like

I’d like some event features like “OnCardAdded”, “OnCardDeleted” it’d be really cool to see some events using this API.

:+1: This is a great idea! I will work on it in the next few days as soon as I can.

Greatly appreciated! Thank you

:tada: It’s time to Update!

  • Revambed UpdateCard Function, Due a bug and although that function was limited I decided to revamp it.
  • Updated Plugin.

As explained in the documentation you can also not include one or more of these parameters, and you can also not include the BoardOptionalData parameter, The Request will be sent but The card will not be updated.

New structure of the function:

  • IdLabels is an array of the labels that you want to put in a specific card, if you want to clean all the labels in a card Just include the parameter with the empty table
    Ex. --> ["idLabels"] = {},

  • Closed means It means if you want to archive that card, true it will archive it and false It will remove it from the archive.

Thank you to @inaguraI for the suggestion of improving this function.


➤ An Update To the Events Request by @stellas1ghts Events are quite a complicated thing that I am working on but I am not sure when they will be released, I want to make sure before releasing them that they are efficient.


:star: We Finaly Did it! 100+ Sales

Thank you very much to all the people Who supported this project, Remember to be careful of scam TrelloAPI Model that contain the same name and description of this API The unique and original and the one owned by Quaerit Services and can be found Here.

:+1: To help other players recognize the real one, remember to like the model on roblox!

If there are any bugs or you have ideas for improving the code, feel free to post them here, under this message!

How i can Update the TrelloAPI Module? Re-insert it from the toolbox as a Model or update the plugin and re-insert it!

4 Likes

Damn amazing work you guys deserve more for this. I was wondering how do I create a Card in the Trello?

Fixed on Private Message, thank you!

Does this still work? I tried using it and it doesn’t work.