This is a Singer tap that produces JSON-formatted data following the Singer spec.
This tap:
- Pulls raw data from TrustPilot
- Extracts the following resources:
- Outputs the schema for each resource
This tap does not support incremental replication!
Clone this repository, and then install using setup.py. We recommend using a virtualenv:
> python3 -m venv VENV_TAP_TRUSTPILOT
> source venv/bin/activate
> python setup.py install
OR
> cd .../tap-trustpilot
> pip install .
Create a config.json
file that looks like this:
{
"api_key": "...",
"business_unit_ids": "123abc, 345fgh, tyuie456"
}
Run the Tap in Discovery Mode. This creates a catalog.json for selecting objects/fields to integrate:
> tap-trustpilot --config config.json --discover > catalog.json
See the Singer docs on discovery mode here.
Run the Tap in Sync Mode (with catalog) and write out to state file
For Sync mode:
> tap-trustpilot --config config.json --catalog catalog.json > state.json
Copyright © 2022 Stitch