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
@movieboxpro said: What is the logic for displaying certificates on the TMDB website
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
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.
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".
ticao2 🇧🇷 pt-BR 的回复
于 2023 年 12 月 07 日 7:34上午
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".