Hello I would like to know how I can see several pages in a request
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de gitawego
le 27 mars 2014 à 08h24
I don't thinks it's possible. it's intended to be fetched only 1 page per request...
maybe it's available for VIP member ? dunno.. :)
Réponse de al020594
le 27 mars 2014 à 08h48
The petition in the "Required Parameters" puts the parameter "page" = Minimum 1 maximum 1000.Yo think it is possible, but not how to do it
Réponse de gitawego
le 27 mars 2014 à 08h51
you can fetch a page of given number, such as page=1 or page=100, but neither page=1,2,3.....,100 nor pages=100.
Réponse de al020594
le 27 mars 2014 à 09h14
So if I want to get a list of 10 pages of "top_rated." Do I have to go page by page?
ex: https://api.themoviedb.org/3/movie/top_rated?api_key=XXXXXXXXXX
I'll have to make multiple requests? Is not it can be done with a single request?
Réponse de gitawego
le 27 mars 2014 à 09h18
yes, you have to go page by page (as I understand ), keep in mind that you have a request limitation:
Réponse de al020594
le 27 mars 2014 à 09h24
Thanks gitawego I am Spanish and my dad is Google Translate XXDD
Réponse de Travis Bell
le 27 mars 2014 à 11h38
To confirm what gitawego said, you can't pull multiple pages in a single call. You will have to iterate through each page.
It's also worth pointing out since the rate limiting was mentioned here, that our rate limiting process will be changing shortly. You can read more about that here: http://www.themoviedb.org/talk/5317af69c3a3685c4a0003b1
Cheers.