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

VijayataVijVijayataVij IndiaCommunity Member Qubie ✭

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

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

Best Answer

  • rondevrondev Community Member - Trial User Wizard ✭✭✭✭✭
    Accepted Answer

    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

Answers

  • VijayataVijVijayataVij IndiaCommunity Member Qubie ✭

    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.

  • rondevrondev Community Member - Trial User Wizard ✭✭✭✭✭

    Sorry , 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
    


  • VijayataVijVijayataVij IndiaCommunity Member Qubie ✭

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

  • rondevrondev Community Member - Trial User Wizard ✭✭✭✭✭

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

  • VijayataVijVijayataVij IndiaCommunity Member Qubie ✭

    Thank you so much Rondev :)

Sign In to Comment