Closed ginakim123 closed 5 months ago
Hmmmm, we don't typically see folks have problems with all_surveys()
if authentication is set up correctly. You might want to try this as well to see if anything is weird in what you get back:
curl --request GET \
--url https://XXX.qualtrics.com/API/v3/whoami \
--header 'x-api-token: YOURLONGAPITOKENHERE'
This would be called from the command line (not from R) and you would need to use your URL and your API token.
Let us know if you have further questions! 🙌
I am currently trying to make a webservice call using R tools and getting the following error. There is no blockage in the firewall on my end, and as you can see it is throwing an error due to exceeded time.
install.packages("qualtRics") library(qualtRics)
Enter API info
qualtrics_api_credentials(api_key = " ", base_url = "https://iad1.qualtrics.com/")
This fetches a list of all of your surveys
surveys <- all_surveys()
Set Time Zone
Sys.setenv(TZ = "UTC")
Select survey to download
mysurvey <- fetch_survey(surveyID = " ")
Save responses to a CSV file
write.csv(mysurvey, file = "Demo_survey_responses.csv", row.names = FALSE)