Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with open(writeFilePath,'a') as outfile:
- while more_results:
- parameters = urllib.parse.urlencode(parms)
- #other code
- if 'cursor' in response_body:
- parms['cursor']=response_body['cursor']
- else:
- more_results = False
- json.dump(response_body['transactions'],outfile)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement