Is this possible to download PDF summary of responses by using Qualtrics API in Python? | XM Community
Skip to main content

Is this possible to download PDF summary of responses by using Qualtrics API in Python?

Yes, it is possible. First create a csv sheet with all the response id in a column. Then write a python code which would do this - Parse the csv file in your code. Loop through each row and get the response id. Get the generalized response pdf link/URL from here and add(format) response id and survey id to it. Use requests.get method to save the pdf


Thank you! I have already called all the response id's in a list using python. Is there any other way to download the PDF easily because I can not use Salesforce.


https://www.qualtrics.com/community/discussion/comment/26316#Comment_26316Sorry , but I guess you misunderstood the steps.
Once you have the response id, just use the below link, and fetch all the PDFs by changing response id, using requests.get method of python
https://s.qualtrics.com/WRQualtricsControlPanel/Report.php?R=${e://Field/ResponseID}&NoStatsTables=1&SID=${e://Field/SurveyID}&ResponseSummary=True


Would i get all the responses summary in one time and how would I download this?


You can just use the for loop in the code and in one run, all the response id pdf will get downloaded


Thank you so much Rondev :)


Leave a Reply