Skip to content

singer-io/target-stitch

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

* Updates dependencies

* add context and sources python version

* indentation because

* specify global python version

* add f strings and disable global variable check in pylint

* fix formatting

* Version 3.3.0 bump and changelog

* Convert version to patch at suggestion of semver spec

Co-authored-by: Dan Mosora <30501696+dmosorast@users.noreply.github.com>
62c2698

Git stats

Files

Permalink
Failed to load latest commit information.

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