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.
Nem találsz egy filmet vagy egy sorozatot? Jelentkezz be és hozd létre.
Want to rate or add this item to a list?
Még nem tag?
ticao2 🇧🇷 pt-BR válaszolt
Beküldve: 2020. március 16. 08:30
The problem is the date format.
It has to be YYYY-MM-DD
Two digits for month and day.
2020-01-01
htetlynnhtun válaszolt
Beküldve: 2020. március 16. 21:57
Oh. Yeah. Now it's working. Thank you so much sir.
IamSanjayGupta válaszolt
Beküldve: 2022. július 2. 04:58
some time data is not sorted
ticao2 🇧🇷 pt-BR válaszolt
Beküldve: 2022. július 2. 08:55
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.
IamSanjayGupta válaszolt
Beküldve: 2022. július 3. 05:43
Thanks for reply my problem got resolved by using primary_release_date. Thank you again