I am making my own web app to store which TV shows and movies i have watched. I would like to store additional data about each show or movie. Am I allowed to use the comments in a list to store JSON data?
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on Januari 21, 2024 at 3:28 PM
There’s some assumption that the text in comments should be parsable as Markdown but there’s probably nothing stopping you from storing some JSON.
Have you tried it, does it work?
Reply by UnityGaming
on Januari 21, 2024 at 3:31 PM
I have a small proof of concept, yes. I request the list through the v4 endpoint and just parse all the comments as JSON.
Reply by Travis Bell
on Januari 21, 2024 at 3:33 PM
If it works, go for it. It’s your list.
Reply by UnityGaming
on Januari 21, 2024 at 3:36 PM
All right, thank you. Would this also be ok if, at a later date, I allowed users to authenticate with their TMDB accounts and would store things in their lists?
Reply by Travis Bell
on Januari 21, 2024 at 3:48 PM
In theory, sure. You’ll have to balance that in practice though.
The new list layout is being launched soon which has the ability to show and hide comments so in theory at least these users could hide all the gibberish JSON from polluting their displays.
Reply by UnityGaming
on Januari 21, 2024 at 3:50 PM
Ok, thank you for the quick replies and permission!