Refactore results_per_page paramter to max_results