The Movie Database atbalsts

Hello!

I just got started integrating my app with the API and I'm trying to essentially find all the movies that exist in the DB. Just so you understand the nature of the app, it's a way for the user(s) to find a movie to watch by ranking them in a certain way. With this I want to have all movies accessible for the app to just fetch them in no specific filtered way.

I integrated with the Discover endpoint and noticed that there were some pagination details in the response, including the "total_pages" property in the response object. The value is 46416 as of me writing this, but as I try to fetch any other page above 500, I get an error response. Is this intentional?

Is there any way that I can really fetch all movies? I noticed the JSON exports that happen daily, but I'm not sure if that includes all movies? I'll use that for now, but would love to know about the reason the page limit is set, and if there is a better way for me to import all the movies into my app project.

Thanks!

1 reply (on page 1 of 1)

Jump to last post

@themaxsandelin said:

I integrated with the Discover endpoint and noticed that there were some pagination details in the response, including the "total_pages" property in the response object. The value is 46416 as of me writing this, but as I try to fetch any other page above 500, I get an error response. Is this intentional?

Yes.

Is there any way that I can really fetch all movies? I noticed the JSON exports that happen daily, but I'm not sure if that includes all movies? I'll use that for now, but would love to know about the reason the page limit is set, and if there is a better way for me to import all the movies into my app project.

You should use the daily export file instgead of the Discover method.

Nevari atrast filmu vai TV pārraidi? Jāpiesakās, lai to izveidotu.

Vispārējs

s fokusēties uz meklēšanas joslu
p atvērt profila izvēlni
esc aizvērt atvērtu logu
? atvērt īsinājumtaustiņu logu

Informācijas nesēju lapās

b atgriezties (vai pie vecākiem, ja nepieciešams)
e doties uz labošanas lapu

TV sezonas lapās

(labā bultiņa) pāriet uz nākamo sezonu
(kreisā bultiņa) pāriet uz iepriekšējo sezonu

TV sērijas lapās

(labā bultiņa) pāriet uz nākamo sēriju
(kreisā bultiņa) pāriet uz iepriekšējo sēriju

Visās attēlu lapās

a atvērt attēla pievienošanas logu

Visās labošanas lapās

t atvērt tulkošanas atlasītāju
ctrl+ s iesniegt veidlapu

Diskusiju lapās

n radīt jaunu diskusiju
w pārslēgt skatīšanās stāvokli
p pārslēgt publisko/privāto
c pārslēgt aizvērt/atvērt
a atklāta darbība
r atbilde uz diskusiju
l doties uz pēdējo atbildi
ctrl+ enter iesniegt savu ziņojumu
(labā bultiņa) nākamajā lapā
(kreisā bultiņa) iepriekšējā lapa

Iestatījumi

Vēlies novērtēt šo vienumu vai pievienot to sarakstam?

Pieteikties