I use themoviedb api for get detail movies and put him inside list view in my app but I can't find how I can Identify number of movies in my request. For Example If I want to get 20 movies when my app is first open how I can't do that !!!
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 Travis Bell
le 31 juillet 2015 à 15h19
Hi mohammad,
I'm not 100% sure I understand the question (so bare with me) but you can't specify the number of items to return on any method that returns a list. They are locked at 20 items per page. You can call additional pages with the
page
param and the number of items available can be retrieved via thetotal_results
field.Cheers.