The Movie Database Support Forum

Hi there:

Is it possible to search for films that include multiple genres? For example, an action animation, or a comedy mystery? I played around a bit with the URI but couldn't get it working...

4 Antworten (Seite 1 von 1)

Jump to last post

Hi jswiss,

Are you trying to use the website or API to do this?

Hey Travis:

I will be using the API. For testing purposes, I was playing around with the URI.

Hi jswiss,

Ok, with the API you can use /discover/movie to do this. An example query to search for films that are both a animation AND action, you would do this:

https://api.themoviedb.org/3/discover/movie?api_key=###&with_genres=16,28

You can turn that into an OR query by switching the comma into a pipe:

    https://api.themoviedb.org/3/discover/movie?api_key=###&with_genres=16|28

You can combine these filters with any others listed in the docs, including all of the many sort options.

Cheers.

Amazing! Thanks Travis, and sorry for all the beginner questions!

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden