Assistance de TMDB

Hello,

How do i get only and only movies list based on keyword. Lets say if i write "star", i want a list of all movies contains a word "star". please response as soon as possible.

6 réponses (sur la page 1 sur 1)

Jump to last post

Hi mvix,

Are you referring to just searching for a movie but its title? If so, you're looking for:

https://api.themoviedb.org/3/search/movie?api_key=###&query=batman

We don't have a "keyword" search per say, our search is pure relevancy based.

Hello,

I am using "http://api.themoviedb.org/3/search/movie?api_key=###&query=star&page=1&language=en&include_adult=0" only. But here I found that it is return data not only for movies but it includes all the pop albums, actor/actress, video etc. having word "star". Here i want only and only movies list not anything else. Is there anything for this? http://i.prntscr.com/56bf94bdc8664b1eb1dd53bc412be145.png

Is there anything by which i can differentiate movies and other entities?

mvix,

Both of "these are not movies" are movies actually, https://www.themoviedb.org/movie/278718 and https://www.themoviedb.org/movie/310980-star respectively. Second one is a short film by the looks of it.

I'd just filter the results at my end: check for exact keyword match and minumum runtime or something like that.

Hello,

But how? Which attribute i can use to filter movies. See this. https://www.themoviedb.org/search/remote/multi?query=star&language=en-US. In the response of this url, i can see that there is one attribute is set "media_type":"movie" or "media_type": "tv". How can i do this? Please Help. Thank you in advance.

You seem to be confusing APIs.

/search/movie and /search/tv endpoints return movies and tv shows respectively, as stated in docs.

Screenshot you've attached above kinda proves that.

No, I am using search/movie api only but getting list including movies, tv, actor/actress, pops. Thats why i am asking anything is there to get only movies list. Hello,

https://www.themoviedb.org/search/remote/multi?query=star&language=en-US. This is just an example i am giving. I am not using this url.

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