Thank you very much, you should be able to download the responses in text format by changing the download_request_payload variable to: '{"format":"' + file_format + ''","useLabels":"True"' + '","surveyId":"' + survey_id + '"}' I have not tested this code but basically you just need to add the option useLabels and set it to True.
@@FedericoTartarini Setting useLabels is not working... {"format":"csv","useLabels":"True","surveyId":"SV_0kVDiWPMvYOk0hE"}. Could you please test it out and let know. Thank you!
It was very helpful.. Thanks But I got an error can you helpout me? I have a question: Is it necessary to purchase a premium account for getting API to download the CSV data? I used the free trail version, and by using the API of this account, it shows an error. "This user does not have access to this API endpoints"
Hello, I am doing my best to follow this video but I keep getting an error that "my_secrets" is not defined. I have watched the video several times and am missing something but I am not able to determine what I am missing. any advice would be appreciated.
The error means that you have not correctly downloaded the secret key from qualtrics. Have you downloaded the secret key from Qualtrics and added it to a file called my_secrets?
Thanks for the video. this line of code is giving the error zipfile.ZipFile(io.BytesIO(request_download.content)).extractall(dir_save_survey). It says invalid zip. where is it wrong?
Hi there. Thanks for this helpful tutorial! after running the code, I get a syntax error for the api_token line. Is there something i'm missing here? TIA
Hi, thank you very much. Have you used the same code as shown in the video? Could you please share more information about the error you are getting and the code you used?
I have a question. I keep getting stuck at line 27: progress_id = download_request_response.json()["result"]["id"] I get the the following: KeyError: 'result' Any advice?
@@matethegrom5614 have you followed all the steps as shown in the video? As previously mentioned it means that something is going wrong and that 'result' is not a key in the 'progress_id'. Could you please try to follow all the steps and share more information with me?
Hi , thanks for the video, I downloaded survey from this code but some of the columns are missing as compared to when I manually download the file from website. Can you tell me a way to fix this?
thank you, I need to download intercept results also, but I'm facing issue with the api that's provided. highly appreciate If you can make a quick video on that too.
@@FedericoTartarini so I have to download the intercept stats with the help of python. It's basically comes under website/app-feedback, it's not a survey. In that app feedback I can see impressions and clicks. I need to download the impression csv. I hope it makes some sense now
Hi, thanks for the video, it seems very promising. I tried to use the script but where should I include my surveyID? I'm getting the following error "name 'survey_id' is not defined"
@@FedericoTartarini I found the issue, I just pasted the survey id instead of my_secrets.survey_id get_qualtrics_survey(dir_save_survey = path, survey_id = my_secrets.survey_id). Thank you!
@@FedericoTartarini Yes, For example I have a file with some records. Right now I can manually create a contact list and distribute the survey. I was wondering if there was an API process that could automate the survey distribution process as well?
Dear Mr. Federico Tartarini, your research is so interesting. Could you give me this words script? By the way, I add you as a friend on Linkedin. Wish you have a good day!
It was very helpful and simple, thank you!
Glad to hear that!
Grazie mille, Federico!
Grazie a te
Awesome tutorial! Thank you so much!!!
Thank you so much.
super useful, thank you!
Glad it was helpful!
Very Helpful, Thank You!
Thank you very much.
Very helpful video!
I am glad it helped you.
Thanks. This is really helpful. Could you please tell how to download the responses in text format? It is in numeric now.
Thank you very much, you should be able to download the responses in text format by changing the download_request_payload variable to: '{"format":"' + file_format + ''","useLabels":"True"' + '","surveyId":"' + survey_id + '"}' I have not tested this code but basically you just need to add the option useLabels and set it to True.
@@FedericoTartarini Setting useLabels is not working... {"format":"csv","useLabels":"True","surveyId":"SV_0kVDiWPMvYOk0hE"}. Could you please test it out and let know. Thank you!
@@FedericoTartarini Figured it out, this works.... {"format":"csv","useLabels": true ,"surveyId":"SV_0kV"}
Great, I am glad it worked
It was very helpful.. Thanks
But I got an error can you helpout me?
I have a question: Is it necessary to purchase a premium account for getting API to download the CSV data?
I used the free trail version, and by using the API of this account, it shows an error.
"This user does not have access to this API endpoints"
I am not sure about that since I have access to qualtrix via my university
@FedericoTartarini Thank you so much for considering my comment 😇
Hello, I am doing my best to follow this video but I keep getting an error that "my_secrets" is not defined. I have watched the video several times and am missing something but I am not able to determine what I am missing. any advice would be appreciated.
The error means that you have not correctly downloaded the secret key from qualtrics. Have you downloaded the secret key from Qualtrics and added it to a file called my_secrets?
Thanks for the video. this line of code is giving the error zipfile.ZipFile(io.BytesIO(request_download.content)).extractall(dir_save_survey). It says invalid zip. where is it wrong?
Have you followed all the steps as shown in the video?
I CANNOT SEE THE SURVEY ANSWERS WHEN I POST TO THE QUALITRICS API. THE RESPONSES SHOW UP BUT THE QUESTIONS SEEM TO BE EMPTY
In the video I am only showing how to download the data not how to post data using the API.
On running the code, only the questions are getting downloaded and not the responses.
Could you please share a little bit more information on the error you are getting?
Hi there. Thanks for this helpful tutorial!
after running the code, I get a syntax error for the api_token line. Is there something i'm missing here? TIA
Hi, thank you very much. Have you used the same code as shown in the video? Could you please share more information about the error you are getting and the code you used?
I have a question. I keep getting stuck at line 27: progress_id = download_request_response.json()["result"]["id"]
I get the the following: KeyError: 'result'
Any advice?
It means that 'result' is not a key in the progress_id.
@@FedericoTartarini How do I fix this? I'm having the same issue.
@@matethegrom5614 have you followed all the steps as shown in the video? As previously mentioned it means that something is going wrong and that 'result' is not a key in the 'progress_id'. Could you please try to follow all the steps and share more information with me?
Hi , thanks for the video, I downloaded survey from this code but some of the columns are missing as compared to when I manually download the file from website. Can you tell me a way to fix this?
That is very strange. Which columns are missing?
@@FedericoTartarini example Q1_nsp_group (details showing promoter, neutral and detractor) , Progress, duration, finished... I'm mainly interested in q1_nsp_group btw.
Maybe check in their official api documentation. They may explain how to get all those information
Is there anyway to download data to s3 bucket instead of local drive ? thanks
I guess you can write a python script that pushes the data to S3. I have never done it before.
thank you, I need to download intercept results also, but I'm facing issue with the api that's provided. highly appreciate If you can make a quick video on that too.
Hi it is not clear to me what you are trying to do. Could you please provide more details?
@@FedericoTartarini so I have to download the intercept stats with the help of python. It's basically comes under website/app-feedback, it's not a survey. In that app feedback I can see impressions and clicks. I need to download the impression csv. I hope it makes some sense now
A okay that now makes sense, unfortunately I didn't even know that you could download those data.
@@FedericoTartarini I figured it out :) thanks
Please make a video about it or share the link to the tutorial you found
Hi, thanks for the video, it seems very promising. I tried to use the script but where should I include my surveyID? I'm getting the following error "name 'survey_id' is not defined"
Hi Ana have you followed all the steps as shown in the video?
@@FedericoTartarini I found the issue, I just pasted the survey id instead of my_secrets.survey_id get_qualtrics_survey(dir_save_survey = path, survey_id = my_secrets.survey_id). Thank you!
Do you have a video to import survey files and send them out as well?
Hi, sorry what do you mean? Could you be a bit more specific?
@@FedericoTartarini Yes, For example I have a file with some records. Right now I can manually create a contact list and distribute the survey. I was wondering if there was an API process that could automate the survey distribution process as well?
Hi, I never looked into it but I believe that this feature should be available. Please check Qualtrics official documentation.
Dear Mr. Federico Tartarini, your research is so interesting. Could you give me this words script? By the way, I add you as a friend on Linkedin. Wish you have a good day!
Unfortunately I don't have the word transcript. You can use otter ai to convert the speech into text.