Forum Discussion

Re: Can't use pandas.read_json() with new QB RESTFul API

Hi Alexander,
Did you find a solution for this?   I  am working on a similar problem of writing to a csv file, and the key for me is that the response is a nested dictionary as is the data part. So a couple of  for loops works.

for record in r.json()[data]:
       for item in record:  # build csv line


I hope this helps

------------------------------
Richard Chagnon
Chicago IL
------------------------------
No RepliesBe the first to reply