This is a Singer tap that produces JSON-formatted data following the Singer spec.
This tap:
- Pulls raw data from Yotpo
- Extracts the following resources:
- Outputs the schema for each resource
Note: The product_reviews endpoint is similar to the reviews endpoint, but also contains custom fields specified for your Yotpo integration. Consider disabling this endpoint if you do not have or need custom fields in the output of this integration.
-
Install
$ pip install tap-yotpo
-
Get an API key
You can find your
api_keyandapi_secretin your Yotpo settings. -
Create the config file
You must create a JSON configuration file that looks like this:
{ "start_date": "2015-01-01", "api_key": "...", "api_secret": "...", "email_stats_lookback_days": 30, "reviews_lookback_days": 30 }The
start_dateparameter determines the starting date for incremental syncs. Theemail_stats_lookback_daysparameter is used to fetch updated email statistics (opens, clicks, etc) for emails sent by Yotpo. Thereviews_lookback_daysparameter is used to re-fetch reviews that have been updated (or deleted) since the last time they were synced. -
Run the Tap in Discovery Mode
$ tap-yotpo -c config.json -d
See the Singer docs on discovery mode here.
-
Run the Tap in Sync Mode
$ tap-yotpo -c config.json -p catalog-file.json
Copyright © 2018 Stitch