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.
Requires Python 3
› pip install target-resci
target-resci takes two types of input:
- A config file containing your ReSci credentials
- 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"
tap-some-api | target-resci --config config.json
where tap-some-api
is Singer Tap.