Python API Question - Pagination

Are there any examples out there for dealing with multi-page responses from
a python-requests-type query ?

I found many confusing variations about dealing with such.

> Are there any examples out there for dealing with multi-page responses from a python-requests-type query ?

Hi Dan,

Specific to Katello/TFM you can include URL parameters "page" and "per_page".

(https://groups.google.com/forum/#!topic/foreman-users/k09MfRSant4)

So you could do your initial query, check out the results to see if there are more results, then loop with addition queries to get the remaining pages.

Regards,

j