Skip to content

retentionscience/singer-target-resci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.


About

singer.io target for Retention Science data API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages