The Movie Database podpora

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 odpoveďí (na strane 1 z 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!

Nemôžeš nájsť film alebo seriál? Prihlás sa a pridaj ho.

Globálne

s zamerať sa na vyhľadávací riadok
p otvoriť menu profilu
esc zatvoriť otvorené okno
? otvoriť okno klávesových skratiek

Na média stránkach

b ísť späť (do rodičovského pokiaľ možno)
e íst na stránku úprav

Na stránkach seriálových serií

(pravá šípka) ísť na nasledujúcu sériu
(ľavá šípka) ísť na predchádzajúcu sériu

Na stránkach seriálových epizód

(pravá šípka) ísť na nasledujúcu epizódu
(ľavá šipka) isť na predchádzajúcu epizódu

Na všetkých obrázkových strankach

a otvoriť okno pre pridanie obrázku

Na všetkých stránkach úprav

t otvoriť výber prekladu
ctrl+ s odoslať formulár

Na stránkach diskusií

n vytvoriť novú diskusiu
w prepínač stavu pozerania
p prepínač verejný/súkromný
c prepínač zatvorený/otvorený
a otvoriť aktivitu
r odpovedať v diskusií
l ísť na poslednú odpoveď
ctrl+ enter odoslať vašu správu
(pravá šípka) nasledujúca strana
(ľavá šípka) predchádzajúca strana

Nastavenia

Chcete ohodnotiť alebo pridať túto položku do zoznamu?

Prihlásiť sa