Looping API Request in Python to retrieve data in bulk

Looping API Request in Python to retrieve data in bulk