Parameterize Python code for bulk survey download

gautamtvermagautamtverma UAECommunity Member - Trial User Qubie ✭
edited June 1 in Qualtrics API

Parameterize Python code for bulk survey download


I am using Python requests package for downloading my surveys responses using specific Survey ID from within Python IDE environment

However, my use case requires me to download bulk surveys (100+) with certain conditions such as specific survey name structure, dates surveys were floated etc.

Can someone assist me as to how do I parameterize my code?





  • kpaddockkpaddock Houston, TXCommunity Member - Trial User Qubie ✭

    One quick suggestion would be you can make a dictionary with the keys being the Survey ID, and the values being another dictionary of all the different options. You could then iterate through each dictionary entry:

    for surveyID, options in idDict.items():

    And then access the different keys/values in the "options" dictionary to set those parameters.

Sign In to Comment