I want to get movies released within a specific date. What I am doing...
https://api.themoviedb.org/3/discover/movie?api_key=<key>&language=en-US&sort_by=release_date.desc&page=1&release_date.gte=2017-12-31&release_date.lte=2020-1-1&with_genres=16%2C35
But I get empty list.
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by ticao2 š§š· pt-BR
on March 16, 2020 at 8:30 AM
The problem is the date format.
It has to be YYYY-MM-DD
Two digits for month and day.
2020-01-01
Reply by htetlynnhtun
on March 16, 2020 at 9:57 PM
Oh. Yeah. Now it's working. Thank you so much sir.
Reply by IamSanjayGupta
on July 2, 2022 at 4:58 AM
some time data is not sorted
Reply by ticao2 š§š· pt-BR
on July 2, 2022 at 8:55 AM
It looks like your problem is not the same problem as this topic.
I suggest you create a new topic with your specific problem and describe a little more what your problem is.
That is, post the API Request you made and inform what is wrong in the response data.
Reply by IamSanjayGupta
on July 3, 2022 at 5:43 AM
Thanks for reply my problem got resolved by using primary_release_date. Thank you again