Assistance de TMDB

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 réponses (sur la page 1 sur 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.

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenêtre ouverte
? Ouvrir la fenêtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenêtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r Répondre à la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion