The Movie Database-ondersteuning

Hello,

I'm creating a simple Android app which display a "ListView" with only the movies posters, ranked by popularity (or alphabetical order). I know I can use the Discover feature for both of them.

Any indications on how I can do it?

Thank you so much :)

2 antwoorden (op pagina 1 van 1)

Jump to last post

Hi jaym,

You won't be able to get the list of posters per movie without calling the /images method on each item. Every item in the list view does however return the top rated poster and backdrop for the language you're querying in the poster_path / backdrop_path field.

Keep in mind if you do go out and call the item's image method, you can actually call the main item and the images call with a single HTTP call by using append_to_response. Example:

https://api.themoviedb.org/3/movie/550?api_key=###&append_to_response=images

Cheers.

Thank you very much for your answer. I'm going to look at this.

Film of tv-serie niet gevonden? Meld je aan om deze toe te voegen.

Wereldwijd

s focus op zoekbalk
p open profielmenu
esc sluit een open venster
? open sneltoetsen venster

Op media pagina's

b ga terug (of ga naar bovenliggend item)
e ga naar beweken

Op tv-seizoenspagina's

(rechter pijl) ga naar volgende seizoen
(linker pijl) ga naar vorig seizoen

Op pagina's met tv-series

(rechter pijl) ga naar volgende aflevering
(linker pijl) ga naar vorige aflevering

Op alle afbeeldingspagina's

a open venster afbeelding toevoegen

Op alle bewerkte pagina's

t open vertaalmenu
ctrl+ s verstuur formulier

Op discussiepagina's

n start nieuwe discussie
w Verander kijk status
p privé of openbaar
c schakelen sluiten/openen
a open activiteit
r beantwoord discussie
l ga naar laatste antwoord
ctrl+ enter verstuur uw bericht
(rechter pijl) volgende pagina
(linker pijl) vorige pagina

Instellingen

Want to rate or add this item to a list?

Inloggen