Hey I'm trying to get the list of future release movies sorted by the local release date.
My request is
https://api.themoviedb.org/3/discover/movie?language=it&page=1&include_adult=false&release_date.gte=2024-10-25&release_date.lte=2024-11-25&sort_by=primary_release_date.desc&vote_average.gte=0®ion=IT
I'm not sure why, but as results I have a movie with a release date set as "release_date": "1993-09-01".
Here is the movie object returned.
{
"adult": false,
"backdrop_path": "/8rKJ1apU6VEzEoqRqMmDnpU1mnb.jpg",
"genre_ids": [
14,
27,
53,
878
],
"id": 28790,
"original_language": "en",
"original_title": "Arcade",
"overview": "Nella sala giochi \"Dante's Inferno\" è arrivato \"Arcade\" un nuovo rivoluzionario videogame. Il gioco ottiene un grande successo anche nella versione su console. Ben presto alcuni ragazzi iniziano a sparire. Solo la liceale Alex si rende conto che le misteriose sparizioni dei suoi amici sono collegate all'Arcade. La ragazza, insieme ad un compagno di scuola, per liberare i suoi amici, dovrà giocare una partita nel pericoloso mondo virtuale del gioco.",
"popularity": 5.671,
"poster_path": "/g5uDwh2MRvPzoAYgqnlTGBaJ1FK.jpg",
"release_date": "1993-09-01",
"title": "Arcade - Impatto Virtuale",
"video": false,
"vote_average": 4.7,
"vote_count": 39
}
Also the sort is not working properly and return more recent movies in the next pages after pagination. is this a problem of my request, or maybe somethings is missing?
Thanks for the help 🙏
فیلم و نمایش تلویزیونی را نمیتوانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.
آیا میخواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟
عضو نیستید؟
پاسخ توسط ticao2 🇧🇷 pt-BR
در تاریخ اکتبر 25, 2024 ساعت 8:24 ق.ض
Where you used it:
&release_date.gte=2024-10-25&release_date.lte=2024-11-25
Replace it with:
&primary_release_date.gte=2024-10-25&primary_release_date.lte=2024-11-25
پاسخ توسط g.orpello
در تاریخ اکتبر 25, 2024 ساعت 9:12 ق.ض
Amazing, thanks for the help 🙏