Skip to content

dbt-labs/tap-selligent

Repository files navigation

tap-selligent

Author: Connor McArthur (connor@fishtownanalytics.com)

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

This tap:

  • Pulls raw data from Selligent's API
  • Extracts the following resources:
    • Programs
    • Transactional Mailings
    • Data sources (internal & external)
  • Outputs the schema for each resource
  • Writes all data on each run

Quick start

  1. Install

    > git clone git@github.com:fishtown-analytics/tap-selligent.git
    > cd tap-selligent
    > pip install .
  2. Get credentials from Selligent:

    You'll need:

    • Your Selligent organization name (if you aren't sure, contact your account manager)
    • An API key for your organization
    • The base URL for your Selligent installation
  3. Create the config file.

    There is a template you can use at config.json.example, just copy it to config.json in the repo root and insert your credentials.

    • organization, your Selligent organization name (looks like "Organization")
    • api_key, your API Key
    • base_url, the base URL of your Selligent installation (looks like "https://organization.yourhost.com:443")
    • user_agent, the user-agent to set as a header on all requests made. Include your email address. (example: "tap-selligent (you@yourdomain.com)")
    • start_date, the date from which you want to sync data, in the format 2017-03-10.
  4. Run the application.

    tap-selligent --config config.json

Copyright © 2017 Fishtown Analytics

About

Singer.io tap for extracting data from the Selligent API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages