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 ΕΊΜΑΙ
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 ΕΊΜΑΙ
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 ΕΊΜΑΙ
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 ΕΊΜΑΙ
The primary release date is cool.
Απάντηση από τον/την bitPascals
στις 25 Σεπτέμβριος 2023 στις 03:48 ΜΜ
Please i want to search for movies by title, after all setup, the api returns nothing at all
Απάντηση από τον/την robbie3999
στις 25 Σεπτέμβριος 2023 στις 05:31 ΜΜ
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".