I've read every post on here about release dates and am still unclear on how to get the US theatrical release date for movies.
(I don't want any other dates.)
When I search for a movie using region=US and with_release_type=3, I get the wrong release date.
For example, the Ravenous release date on its TMDB page is March 16, 1999.
But when I use the parameters above (ex: https://api.themoviedb.org/3/movie/10212?api_key=123123123123123123®ion=US&with_release_type=3) I get a "release_date": "1999-01-01".
What am I missing here?
Thanks!
.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם
?רוצה לדרג או להוסיף פריט אל רשימה
?לא חבר אתר
תגובה מאת ticao2 🇧🇷 pt-BR
ב-יוני 11, 2024 ב-3:48אחרי חצות יום
I believe you are mixing Discover Request filters
https://developer.themoviedb.org/reference/discover-movie
with Movie Details Request filters that you already know the ID of.
https://developer.themoviedb.org/reference/movie-details
The release_date for this film, ID 10212, in Canada is 1/1/1999.
https://www.themoviedb.org/movie/10212-ravenous/releases
It's the oldest.
So it's the worldwide release date, the primary_release_date.
If you want to know the release date in the USA
then use the parameter &append_to_response=release_dates
and you will receive all the release dates in the world.
https://api.themoviedb.org/3/movie/10212?append_to_response=release_dates&language=en-US
Filtering only en-US should be done on your end.
תגובה מאת Toobzee
ב-יוני 21, 2024 ב-3:24לפני חצות יום
Thanks @ticao2. (Sorry, I thought I replied to this earlier!) Trying this now!