Hi I want a list of movies and poster images and all other details based on genre. Based on discussion forum I used this query
https://api.themoviedb.org/3/discover/movie?api_key=MY_KEY&language=en-US&with_genre=10749
I get 20 movies but none of them has genre id 10749 (Romantic). How can I get what I need specifically. Also I saw how query was designed for which year to look in but is it possible to give a range of year.
So I want list of movies with Genre Id 13, ranging from 2010 to 2019.
Thanks
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 14, 2019 at 7:23 PM
1 You forgot the letter S in &with_genres
2 You actually got 405979 movies with this wrong search.
See the beginning of the answer the following information:
There are 20 movies per page. And you got 20299 pages.
You can add the &page parameter in your Request.
https://api.themoviedb.org/3/discover/movie?api_key=[MY_KEY]&language=en-US&page=1&with_genres=10749
3 If this is a question, the answer is yes.
I suggest you carefully read the instructions on this page:
https://developers.themoviedb.org/3/discover/movie-discover
To set a Range of dates, you need to use the parameters:
primary_release_date.gte = equal to or greater than
primary_release_date.lte = equal to or less than
https://api.themoviedb.org/3/discover/movie?api_key=[MY_KEY]&language=en-US&page=1&primary_release_date.gte=2012-04-25&primary_release_date.lte=2017-12-23&with_genres=10749
The answer will be with this quantity:
Reply by shubhswe
on March 15, 2019 at 8:01 AM
Thanks for prompt response :)
Reply by Evgeniy_Boyko
on June 28, 2019 at 2:50 AM
Hey! I Have a question. Is it possible to give a range of vote_average?
Reply by ticao2 š§š· pt-BR
on June 28, 2019 at 2:59 AM
The solution is the same, but with the voting parameters:
vote_average.gte
vote_average.lte
See here: https://developers.themoviedb.org/3/discover/movie-discover
Reply by Evgeniy_Boyko
on June 28, 2019 at 3:02 AM
Thanks a lot!