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
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de ticao2 🇧🇷 pt-BR
pe data de 7 decembrie 2023 la ora 7:34 AM
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".