Author: Connor McArthur ([email protected])
This is a Singer tap that produces JSON-formatted data following the Singer spec.
It:
- Generates a catalog of available data in Campaign Monitor
- Extracts the following resources:
- Install
git clone [email protected]:fishtown-analytics/tap-campaign-monitor.git
cd tap-campaign-monitor
pip install .
-
Get credentials from Campaign Monitor. You'll need your client ID and an API key.
-
Create the config file.
There is a template you can use at config.example.json
, just copy it to config.json
in the repo root and insert your client ID and secret.
- Run the application to generate a catalog.
tap-campaign-monitor -c config.json --discover > catalog.json
- Select the tables you'd like to replicate
Step 4 creates a file called catalog.json
that specifies all the available endpoints and fields. You'll need to open the file and select the ones you'd like to replicate. See the Singer guide on Catalog Format for more information on how tables are selected.
- Run it!
tap-campaign-monitor -c config.json --properties catalog.json
- If you select any of the
campaign_*
streams, you MUST selectcampaigns
as well. Likewise forlist_*
andlists
.
Copyright © 2018 Stitch