Leandro Soares

Leandro Soares

Friends,

How do the paging?
Because the getList I tell the current page and how many records per page ...
But how do you know the total records?
Because without the total can not know if there is a next page ...

Leandro Soares

Leandro Soares

Someone could help a novice to use paging?
How do I know how many results pages, or are there?

I appreciate any help...

Brad Dougherty

Brad Dougherty Staff

Hi Leandro,

Unfortunately, the only way to know how many pages is just to request a page and if there aren't any results, you know you hit the last page. If you're getting a user's videos, vimeo.people.getInfo will tell you the number of videos they have, then you can use that to calculate.

Good news is that there is a big update coming to the API soon. The update will include the number of pages with the response.

Leandro Soares

Leandro Soares

Thank you for the answer!
vimeo.people.getInfo will help!

Glad to know about the update, if possible, would it possible to sort the results!

The API would be perfect!

This conversation is missing your voice. Please join Vimeo or log in.