How would I search movies that are between X and Y year? I see that there is only a year
field. Is it possible to search between a range of years?
Не можеш да нађеш филм или серију? Пријави се да додаш.
Желите ли да оцените или додате ову ставку у листу?
Нисте члан?
Одговор од Travis Bell
дана 15. октобар 2020. у 10:57 AM
You can use
/discover
to do this. An example:You could also combine this with a region if you want to find movies released in the US for example:
The docs have more information about the filters you can use.
Одговор од sproleee
дана 15. октобар 2020. у 11:48 AM
Thanks for the reply.
I'm aware of the discovery filtering system. What I'm looking for is to search between years (integer) and not dates (string). Is that possible?
For example, search for movies between the year 2010 and 2012.
Одговор од Travis Bell
дана 15. октобар 2020. у 11:52 AM
Sure, just use
YYYY-01-01
/YYYY-12-31
:That will query 2020 for you. Obviously scale that to whatever years you want, no problem.
Одговор од ortolanph
дана 17. септембар 2023. у 10:46 AM
The primary release date is cool.
Одговор од bitPascals
дана 25. септембар 2023. у 3:48 PM
Please i want to search for movies by title, after all setup, the api returns nothing at all
Одговор од robbie3999
дана 25. септембар 2023. у 5:31 PM
Hi @bitPascals, what is the URL you are calling that returns no results? Replace your api key with a string like "API_KEY" or "xxxxxx".