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?
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Travis Bell
le 21 janvier 2024 à 15h28
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?
Réponse de UnityGaming
le 21 janvier 2024 à 15h31
I have a small proof of concept, yes. I request the list through the v4 endpoint and just parse all the comments as JSON.
Réponse de Travis Bell
le 21 janvier 2024 à 15h33
If it works, go for it. It’s your list.
Réponse de UnityGaming
le 21 janvier 2024 à 15h36
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?
Réponse de Travis Bell
le 21 janvier 2024 à 15h48
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.
Réponse de UnityGaming
le 21 janvier 2024 à 15h50
Ok, thank you for the quick replies and permission!