The Movie Database Support

Hi!

I'd like to be able to search for a movie on multiple keys. For example, I'd like to be able to get a movie result list which has a specific genre and cast.

For example: Show movies with genres "Action" and "Adventure" (passing genre ids) with cast "Brad Pitt" (passing cast ID).

I don't see this as possible with how the API v3 stands now, but maybe I'm missing something.

I could technically make it work but it'd require searching for a movie response on a particular genre, then individually filtering each result by checking the cast of each result. Obviously this isn't very efficient and would require a massive number of requests to the API.

Thanks!

6 replies (on page 1 of 1)

Jump to last post

Hi Chris,

You can use the discover method to get you 90% there. The only thing missing is being able to add any kind of text search (or person id) along side the discover method. Discover is more about being a movie data search than text or cast.

Other than that though, you'd have to build this yourself. There is nothing planned to take discover the extra mile you're looking for.

Thanks Travis, I've started looking into the Discover method. There's many more pieces of data I'd like to filter on than the two examples I provided, but of course - have to start somewhere. You all don't somehow provide a full DB dump do you?

You all don't somehow provide a full DB dump do you?

No, we do not. API access only.

Cheers.

Travis:

Two more quick follow-ups:

  1. Is there any way to return a full data set instead of a particular page?
  2. Using discover, I can "filter" by a genre via "with_genres" but I don't see any way to push it a little further with an actor as well (my original example question). You suggested I could there 90%, though. Further suggestion?
  1. Is there any way to return a full data set instead of a particular page?

You referring to doing that with the discover method? No. We return results only, you'd have to go off and query each ID for the full details.

  1. Using discover, I can "filter" by a genre via "with_genres" but I don't see any way to push it a little further with an actor as well (my original example question). You suggested I could there 90%, though. Further suggestion?

Discover doesn't support any type of cast or person search. For this you'd have to build something on your own.

Thanks!

For #1) I was simply referring to the general result set being paginated instead of a full set. For example, if I get the Discover results down to perhaps 45 items, I end up with 3 "pages" (max, 20 items per page it seems). This is important because, as you've suggested, I'd have to build something myself - and having to build a full result set to then cull means I have to gather the full result set to start with. The pagination, as I'm sure you're aware, applies to more than just discover.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p profil menyusini ochish
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

kirish