Gladly Singer Tap

0.4.1 · active · verified Tue Apr 14

`tap-gladly` is an open-source Singer tap designed to extract data from the Gladly customer service platform. Built using the Meltano SDK for Singer Taps, it adheres to the Singer Specification, providing a standardized JSON-based output for integration into various ELT pipelines. The current version is `0.4.1`, and releases typically align with updates to the underlying Gladly API or improvements in the Meltano SDK, rather than a fixed cadence.

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how to run `tap-gladly` as a standalone Singer tap. It first sets up a basic `config.json` with a placeholder API token and a `start_date` for historical data extraction. Then, it uses the `--discover` flag to generate a `catalog.json` detailing available data streams and their schemas. Finally, it executes a data sync using the generated catalog, an empty `state.json` (for the initial run), and outputs the extracted data in JSONL format to `data.jsonl`. Replace `your_gladly_api_token` and `https://your-gladly-instance.gladly.com` with your actual Gladly API credentials and instance URL.

export GLADLY_API_TOKEN="your_gladly_api_token"

# 1. Create a minimal configuration file (config.json)
cat <<EOF > config.json
{
  "api_url": "https://your-gladly-instance.gladly.com",
  "api_token": "$GLADLY_API_TOKEN",
  "start_date": "2023-01-01T00:00:00Z"
}
EOF

# 2. Discover available streams and their schemas
tap-gladly --config config.json --discover > catalog.json

# 3. Perform a data sync (extract data)
tap-gladly --config config.json --catalog catalog.json --state state.json > data.jsonl

# (Optional) View the first few lines of extracted data
head data.jsonl

view raw JSON →