The Movie Database Support

Hi,

http://api.themoviedb.org/3/search/movie?api_key=###&include_adult=true&page=1&query=mob%20action%2Cfunny%20nazi

but those word in your keyword search list,but No result coming.

FYI . What we are doing in our app..if select only keyword , not genres etc..then we are using search/movie api instead of discover/movie because we are not getting expected result in discover api.

Thanks.

6 replies (on page 1 of 1)

Jump to last post

Hi there,

Search only supports searching original, translated and alternative titles, no other fields are used.

What exactly is it you're trying to achieve?

http://api.themoviedb.org/3/discover/movie?api_key=xxx&include_adult=true&page=1&with_keywords=159910

mob action =159910

but result coming very different.

Are you search keywords in which fields ?

Response --

 {"page":1,"results":[{"poster_path":"\/jz0gxRUwAEI2r4VXzQxTRSHD9HX.jpg","adult":false,"overview":"2ELEVEN IS THE TALE OF TWO BROTHERS HUSTLING TO SURVIVE IN THE STREETS OF DETROIT. ZO, THE CALM, AMBITIOUS BROTHER WANTS NOTHING MORE THAN TO GIVE HIS DAUGHTER, NATTY, A BETTER LIFE WHILE MURDA, THE FLASHY HOT TEMPERED BROTHER LOVES THE FAST LIFE AND EVEN FASTER MONEY. TWO VERY DIFFERENT BROTHERS WITH THE SAME OCCUPATION, COMMITTING ROBBERIES. ZO, MURDA, AND THEIR ACCOMPLICE, RELL START OFF AS SMALL TIME THIEVES UNTIL ZO LINKS UP WITH A SEASON VETERAN WHO GIVES THEM THE OPPORTUNITY TO CATCH BIGGER FISH AND MAKE MORE MONEY. ONCE THESE \"JACK BOYS\" BEGIN TO SEE A SHIFT IN INCOME, THE DIFFERENCES BETWEEN ZO AND MURDA BECOME MORE APPARENT. TEMPERS FLARE, BLOOD IS SHED, AND LINES ARE CROSSED. THE MORE MONEY THAT IS MADE, THE MORE LOYALTY IS TESTED. THIS URBAN DRAMA IS SURE TO LEAVE YOU THINKING","release_date":"2015-08-08","genre_ids":[28,80],"id":408102,"original_title":"2eleven","original_language":"en","title":"2eleven","backdrop_path":"\/rEK4HrKTDHjPf1Tndj2EOzuc7nV.jpg","popularity":1.009711,"vote_count":0,"video":false,"vote_average":0},{"poster_path":"\/bh3CklVufb750mMuRholAWqoqtj.jpg","adult":false,"overview":"Granite-jawed Jack Holt performs a dual role in Columbia's Trapped by G-Men.","release_date":"1937-09-09","genre_ids":[28,80,18],"id":118429,"original_title":"Trapped by G-Men","original_language":"en","title":"Trapped by G-Men","backdrop_path":null,"popularity":1.000148,"vote_count":0,"video":false,"vote_average":0}],"total_results":2,"total_pages":1}

I think I need to clarify the way with_keywords works. That is just a relational search for all of the movies with the keyword added. It's the same as going to the keyword page here on TMDb:

https://www.themoviedb.org/keyword/159910/movie

Which you'll see there is only 2 movies with that keyword. This matches what I am seeing on your discover query.

Does that make more sense now?

Ok Now got it ..Thanks ...we can close this discussion

Hi,

We decided to show keywords in movie details screen in our app..but in movie detail api we didn't get keywords array... please how we can do this ?

http://api.themoviedb.org/3/movie/408102?api_key=XXX

Thanks

You should take a read through the append_to_response documentation. You can append sub requests to your primary request like so:

https://api.themoviedb.org/3/movie/550?api_key=###&append_to_response=keywords

Cheers.

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

Global

s focus the search bar
p open profile menu
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?

Login