there are no errors so I dont seem to know what happened
Take a look at the Structure function:
For some reason I get these 2 warnings, not really sure what it means but the API works fine, as far as im aware
From what I’m seeing you are promoting it as a Database, which is actually against their TOS I believe since that’s not what Trello was made to be used for. Then again there is no point in using this as we have a perfectly good DataStoreService made by Roblox that hasn’t gone down in a while, meaning you are safe to use it. There is also more support & community resource for the DataStoreService which makes sure you are using the service properly.
In simple terms, Trello is NOT A DATABASE AND SHOULD NEVER BE USED AS ONE
Could you send you’re code (Where you use the function)
Could you send then some Some screenshots where I say to use this service (API) as a database?
Also if a person wants to use it as a database he is free to do so.
Before speaking, you should understand the meaning of the words
Can you also submit the Trello Tos screen where do they say that trello shouldn’t be used as a database? (It is obvious that it is not the right thing to do but no one legally forbids it)
Furthermore your statement has already been mentioned in previous answers, to ensure a better reading for the person who wants to use this service, do not repeat the same thing unnecessarily Also because it would go against the rules of Dev Forum
just realised where the warnings were referring to, I never changed the BoardID and ListId variables in your api require example
apologies
No Worries, if you need More help let me know that here!
I never said you that you said to use it as a database, however, from the code and the way you are using it is just like a database.
They are free to do so, but what I’m trying to say is that’s the innocent usage of the service they offer and you are basically promoting it by how you are using your module. Again as I mentioned in my previous reply I wasn’t sure if it was against their TOS but however, but it’s simply common sense at this point that Trello is not a database.
I’m not pointing it out unnecessarily, I’m only doing so since I have a reason. If you scroll up you can see some people using it to store data. I think you should mention that it should not be used as a database on your forum or in some other way.
Hi there, I’m having issues trying to understand how to apply a label and description to a newly created card? Could you please explain this part to me, thanks in advance.
EDIT: I apologize, I didn’t read the post properly. I’m all good now.
This isn’t quite working for me, this is my current code:
local newcard = TrelloAPI.CardsAPI.CreateCard("Isenashi", ArrestedList, {
["Description"] = "Murdered a dude at some point idfk.",
["idLabels"] = {'6375f0738291ac8742809a58', "6375f0738291ac8742809a60"},
})
print('added new card!')
wait(5)
TrelloAPI.CardsAPI.UpdateCard("Isenashi", {
["Name"] = "Isenashi",
["Description"] = "Murdered a dude at some point idfk. Now released under dumb stuff.",
["idLabels"] = {'6375f0738291ac8742809a58', "6375f0738291ac8742809a63"},
["Closed"] = false,
["idList"] = "Criminal Records",
})
print('updated the new card!')
It doesn’t move the card to the new list, update the description, or even add the new label.
Hi! Thank you for this amazing API! It’s alot of fun to find out what I can do with it.
I was wondering if I could show the expiration date
of a card in a textlabel. I mean for example you are banned until tomorrow, it will show the amount of hours and minutes left until the expiration date has completed.
If this isn’t possible, could you consider adding it? Thank you!
Edit: Also, Is it possible to check if there is a card in a list with the same name? I want to track in-game time and I got it working but it creates a new card everytime I join the game as it’s inside the PlayerAdded function. I want to check if there already is a card with the players name but I’m not sure how.
Hi @Rick007110 Thanks for your suggestion, I will consider it in the future if i updates this API.
Yes of course you can check that a card is already inside the list, using GetCardOnList(ListId, CardName)
This will return a boolean wich can be used to know if card exists in that list
So I can just use GetCardsOnList() and then do if CardName then statement to tell the script it’s already there? Alright thank you!!
Yes you can do that if you want or simply use GetCardOnList(ListId, CardName)
not GetCardsOnList()
wich do the same thing but inside API, But it just check that card name is eguale to the 2nd the parameter you insert on that function “CardName”
Hi, I wonder how to get an id of a list?
You can get it by using: GetListID()
Hiya again! Is there a way to get a number on the amount of cards in a list?
Hi There, Yes you can get it by putting #
in front of the card list that the api returns, Otherwise you can lop all cards and increment a counter.
Honestly this is not really API related, it’s just basic knowledge of the LUA language.
can I add a card from the module or do I have to do it manually