Skip to content

A Singer.io Target for the Stitch Import API

License

Notifications You must be signed in to change notification settings

JamesEdition/target-stitch

 
 

Repository files navigation

target-stitch

Reads Singer formatted data from stdin and persists it to the Stitch Import API.

Install

Requires Python 3.5.6

› pip install target-stitch

Use

target-stitch takes two types of input:

  1. A config file containing your Stitch client id and access token
  2. A stream of Singer-formatted data on stdin

Create config file to contain your Stitch client id and token:

{
  "client_id" : 1234,
  "token" : "asdkjqbawsdciobasdpkjnqweobdclakjsdbcakbdsac",
  "small_batch_url": "https://api.stitchdata.com/v2/import/batch",
  "big_batch_url": "https://api.stitchdata.com/v2/import/batch",
  "batch_size_preferences": {}
}
› tap-some-api | target-stitch --config config.json

where tap-some-api is Singer Tap.


Copyright © 2017 Stitch

About

A Singer.io Target for the Stitch Import API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.8%
  • Ruby 4.2%