What is the logic for displaying certificates on the TMDB website? There are some certificate data in the API. How can I achieve the same display effect as on the TMDB website
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 ticao2 🇧🇷 pt-BR
le 7 décembre 2023 à 07h34
I don't remember the website rule very well.
But it's something similar to this:
From the country configured in the interface. If it doesn't exist...
From default, en-US. If it doesn't exist...
From any country that has it.
There is an order of preference for "release type".
https://developer.themoviedb.org/reference/movie-release-dates
I believe that, using the type IDs, it is: 3, 4, 2, 1, 6 and 5
Using API you receive all countries and all variations of the same country including "release types".
On your side, you can filter whatever you want, country and "release type".