Sample Python code to extract Survey Impressions from Qualtrics API
- Install required Packages
- Update the Survey SiteIntercept IDs in the Code
- Update Qualtrics User ID and its token in the code
- Execute/Run the code to get your tabular results printed
Requirements:
- Python version 2.x.x
- Modules:
- requests
- pandas
- json
- datetime
- Survey SiteIntercept IDs
- Quatlrics ID and token with API access enabled (and access to respective Survey SiteIntercept IDs)
- Extracting Clicks (another metric that SiteIntercept provides) along with impressions
- Adding alternate code for Python 3.x.x compatibility
- Ability to extract Historic Data
- Plotting Trends