Pagination
When the request implements pagination (most of the get_all functions) it returns the object with the pagination info together with the list of the resources.
User service pagination example
filt = Filter(Filter.EQUAL, 'nsCode', 'examplecode')
page = api.user_service.get_all(filt, start_index=5, count=10)
print('Start index : ' + str(page.startIndex))
print('Items per page : ' + str(page.itemsPerPage))
print('Total results : ' + str(page.totalResults))
print('\nThe first user\'s id: ' + page.resources[0].id)
The output:
INFO:root:Found 10 users
Start index : 5
Items per page : 10
Total results : 50
The first user's id: exampleId