Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.11 KB

README.md

File metadata and controls

51 lines (30 loc) · 1.11 KB

target-resci

This is a Singer target that reads JSON-formatted data following the Singer spec.

Usage of this target assumes you have a Retention Science (ReSci) account and proper credentials. Please visit the ReSci Help Center or the ReSci Developer Portal for additional assistance.

Install

Requires Python 3

› pip install target-resci

Use

target-resci takes two types of input:

  1. A config file containing your ReSci credentials
  2. A stream of Singer-formatted data on stdin

Create config file to contain your ReSci api_key and site_id:

{
  "site_id" : 1234,
  "api_key" : "asdkjqbawsdciobasdpkjnqweobdclakjsdbcakbdsac",
  "import_type": "singer_import_config"
}

// Optional, used for testing:
"api_url": "http://test-api-url/v3/import_jobs"

Running

tap-some-api | target-resci --config config.json

where tap-some-api is Singer Tap.