Open jefairman opened 6 months ago
Hi, actually I am in the same situation. Unfortunately, OMDB api not supports query or search only by year like y=2010, you must include at least t as title or i as IMDB id, then you can find the movie you want. Actually I am stacked here as well. We have a small project need to search movie by title, year, actors, director. Unfortunately, no solution from now.
When you send a title query like: curl "https://www.omdbapi.com?apikey=my_key&t=Star&y=2001" you get a response filtered for the year 2001.
When you send a search query like: curl "https://www.omdbapi.com?apikey=my_key&s=Star&y=2001" the response doesn't filter by year. It just ignores the y=2001 and you get back thousands of records.