for file in response.get('files', []):
    L.append({'name': file.get('name'), 'id': file.get('id'), 'parents':
        file.get('parents')})
page_token = response.get('nextPageToken', None)
if page_token is None:
    pass
No Google Drive files are listed in Drive API request