Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Latest commit

 

History

History
70 lines (48 loc) · 1.4 KB

README.md

File metadata and controls

70 lines (48 loc) · 1.4 KB

tap-klaviyo-custom

tap-klaviyo-custom is a Singer tap that produces JSON-formatted data for lists and list members endpoints from the Klaviyo API.

Built with the Meltano Tap SDK for Singer Taps.

Installation

pipx install tap-klaviyo-custom

Configuration

Accepted Config Options

{
  "api_key": "pk_XYZ",
  "start_date": "2017-01-01T00:00:00Z",
  "user_agent": "email_address",
  "listIDs": ["List of list IDs"]
}

A full list of supported settings and capabilities for this tap is available by running:

tap-klaviyo-custom --about

Usage

You can easily run tap-klaviyo-custom by itself or in a pipeline using Meltano.

Executing the Tap Directly

tap-klaviyo-custom --version
tap-klaviyo-custom --help
tap-klaviyo-custom --config CONFIG --discover > ./catalog.json

Initialize your Development Environment

pipx install poetry
poetry install

Create and Run Tests

Create tests within the tap_klaviyo_custom/tests subfolder and then run:

poetry run pytest

You can also test the tap-klaviyo-custom CLI interface directly using poetry run:

poetry run tap-klaviyo-custom --help

SDK Dev Guide

See the dev guide for more instructions on how to use the SDK to develop your own taps and targets.