This tap qualtrics was created by Degreed as a qualtrics to be used for extracting data via Meltano into defined targets
To test locally, pipx poetry
pipx install poetry
Install poetry for the package
poetry install
To confirm everything is setup properly, run the following:
poetry run tap-qualtrics --help
To run the tap locally outside of Meltano and view the response in a text file, run the following:
poetry run tap-qualtrics > output.txt
A full list of supported settings and capabilities is available by running: tap-qualtrics --about
To test locally, create a config.json
with required config values in your tap_qualtrics folder (i.e. tap_qualtrics/config.json
)
{
}
note: It is critical that you delete the config.json before pushing to github. You do not want to expose an api key or token
The provided meltano.yml
provides the correct setup for the tap to be installed in the data-houston repo.
At this point you should move all your updated tap files into its own tap-qualtrics github repo. You also want to make sure you update in the setup.py
the url
of the repo for you tap.
Update the following in meltano within the data-houston repo with the new tap-qualtrics credentials/configuration.
plugins:
extractors:
- name: tap-qualtrics
namespace: tap_qualtrics
pip_url: git+https://github.com/degreed-data-engineering/tap-qualtrics
capabilities:
- state
- catalog
- discover
config:
api_key: $DD_API_KEY
app_key: $DD_APP_KEY
start_date: '2022-10-05T00:00:00Z'
To test in data-houston, run the following:
make meltano
- spins up meltanomeltano install extractor tap-qualtrics
- installs the tapmeltano invoke tap-qualtrics --discover > catalog.json
- tests the catalog/discoverymeltano invoke tap-qualtrics > output.txt
- runs tap with .txt output inmeltano/degreed/
That should be it! Feel free to contribute to the tap to help add functionality for any future sources
See the dev guide for more instructions on how to use the Singer SDK to develop your own taps and targets.