This is a Singer tap that produces JSON-formatted data following the Singer spec.
This tap:
- Pulls raw data from the Listrak Email RESTful API
- Extracts the following resources:
- Outputs the schema for each resource
- Incrementally pulls data based on the input state
-
Install
pip install tap-listrak
-
Create the config file
You must create a JSON configuration file that looks like this:
{ "start_date": "2010-01-01", "client_id": "your-listrak-client-id", "client_secret": "your-listrak-client-secret" }
The
start_date
is the date at which the tap will begin pulling data. The Listrak API uses a form of OAuth2 Client Credentials Authentication, meaning you must create these credentials in Listrak and provide them. -
Run the Tap in Discovery Mode
tap-listrak -c config.json --discover
See the Singer docs on discovery mode here.
-
Run the Tap in Sync Mode
tap-listrak -c config.json --catalog catalog-file.json
Copyright © 2018 Stitch