The Movie Database tuki

Hello, I'm doing a web application inspired by NETFLIX, I would like to have the movies sorted by categories, such as movies, popular horror films, action ...

I know that if I use the query discover with with_genre, it works but I would like to have the movies of each genre, is there a request to have them all at once?

I forgot to specify, I also try the query with several genres like "withgenres =" 12,16,27 ", but many movies have several genres, my list is mixed suddenly ...

1 vastaus (sivulla 1, sivuja yhteensä 1)

Jump to last post

I know that if I use the query discover with with_genre, it works but I would like to have the movies of each genre, is there a request to have them all at once?

What exactly do you mean by all at once? More than 20 items per page? If so, no, you'll just have to iterate over all of the pages.

I forgot to specify, I also try the query with several genres like "with_genres ="12,16,27", but many movies have several genres, my list is mixed suddenly ...

Depending what you're looking for, a comma separated values act as an AND query. You'll want to use pipe separated values, this way it's an OR query. Example: with_genres=12|16|27.

Sorting is done by popularity by default, if you want to sort them by another field, check out all of the available sort options from the docs.

Global

s keskitä hakukenttään
p avaa profiilivalikko
esc sulje avoin ikkuna
? avaa pikanäppäinikkuna

On media pages

b palaa takaisin (tai hakemistoon mikäli mahdollista)
e siirry editoimaan sivua

On TV season pages

(oikea nuolinäppäin) siirry seuraavaan kauteen
(vasen nuolinäppäin) siirry edelliseen kauteen

On TV episode pages

(oikea nuolinäppäin) siirry seuraavaan jaksoon
(vasen nuolinäppäin) siirry edelliseen jaksoon

On all image pages

a avaa "lisää kuva" ikkuna

On all edit pages

t avaa kielivalinta
ctrl+ s submit form

On discussion pages

n luo uusi keskustelu
w toggle watching status
p toggle public/private
c toggle close/open
a avaa viimeaikainen toiminta
r vastaa keskusteluun
l siirry viimeisimpään vastaukseen
ctrl+ enter submit your message
(oikea nuolinäppäin) seuraava sivu
(vasen nuolinäppäin) edellinen sivu