adding maximum per_page to API calls