How to Export All Reviews into a CSV
API 2 Venues (most common)
invitation = client.get_invitation(f'{venue_id}/-/{review_name}')
content = invitation.edit['invitation']['edit']['note']['content']
print(content)keylist = list(content.keys())with open('reviews.csv', 'w') as outfile:
csvwriter = csv.writer(outfile, delimiter=',')
# Write header
keylist.insert(0,'forum')
t = csvwriter.writerow(keylist)
for review in reviews:
valueList = []
valueList.append(review.forum)
for key in keylist:
if (key != 'forum'):
if review.content.get(key)['value']:
valueList.append(review.content.get(key)['value'])
else:
valueList.append('')
s = csvwriter.writerow(valueList)API 1 Venues
Adding submission information to the exported csv (both API2 and API1)
Adding reviewer information to the exported csv (both API2 and API1)
PreviousHow to Get All the Reviews that I have written and their Corresponding SubmissionsNextHow to Retrieve Data for ACM Proceedings
Last updated
Was this helpful?