Skip to content

Singer.io tap for extracting data from the Campaign Monitor API

License

Notifications You must be signed in to change notification settings

dbt-labs/tap-campaign-monitor

Repository files navigation

tap-campaign-monitor

Author: Connor McArthur (connor@fishtownanalytics.com)

This is a Singer tap that produces JSON-formatted data following the Singer spec.

It:

Quick Start

  1. Install
git clone git@github.com:fishtown-analytics/tap-campaign-monitor.git
cd tap-campaign-monitor
pip install .
  1. Get credentials from Campaign Monitor. You'll need your client ID and an API key.

  2. 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.

  1. Run the application to generate a catalog.
tap-campaign-monitor -c config.json --discover > catalog.json
  1. 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.

  1. Run it!
tap-campaign-monitor -c config.json --properties catalog.json

Gotchas

  • If you select any of the campaign_* streams, you MUST select campaigns as well. Likewise for list_* and lists.

Copyright © 2018 Fishtown Analytics

About

Singer.io tap for extracting data from the Campaign Monitor API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages