Hey there, I've been using the TMDB movie api for a bit now and I think I've found a bug Whenever I do this request: https://api.themoviedb.org/3/discover/movie?api_key=myKey&release_date.gte=2004-01-01&release_date.lte=2004-12-31&sort_by=popularity.desc It shows movies way outside this range, is this a mistake on my end?
Can't find a movie or TV show? Login to create it.
ต้องการให้คะแนนหรือเพิ่มรายการนี้ไปยังรายการหรือไม่
ไม่ใช่สมาชิกเหรอ
Reply by superboy97
on November 25, 2024 at 1:25 หลังเที่ยง
Can you give us an example of such a movie ?
Don't forget that it will take in account all the release dates listed for a movie. As long as one of them match your criteria, the movie will be returned.
Reply by RegularRobin
on November 25, 2024 at 1:35 หลังเที่ยง
Ah I see, I forgot about that. I got confused because it has some movies like Alien and Toy Story but in the case of Alien it's the directors cut. I didn't realise I could use the release types, sorry!
Reply by superboy97
on November 25, 2024 at 1:42 หลังเที่ยง
You also have the possibility to check the primary release date.
Reply by Travis Bell
on November 25, 2024 at 2:12 หลังเที่ยง
with_release_type
andregion
are your friends if you want to userelease_date.xxx
. Otherwise, switch toprimary_release_date.xxx
.Reply by RegularRobin
on November 25, 2024 at 2:14 หลังเที่ยง
Thanks for the tips guys! Much appreciated