Skip to content

rafaeljusi/tap-exactsales

Repository files navigation

tap-exactsales

This is a Singer tap that produces JSON-formatted data following the Singer spec.

This tap:

  • Pulls raw data from Exactsales's REST API
  • Extracts the following resources from Exactsales
  • Outputs the schema for each resource
  • Incrementally pulls data based on the input state

setup

  1. Install the tap pip install -e .

  2. Install the target pip install target-stitch

  3. Create and edit the tap config file (tap_config.json)

{
    "api_token": "YOUR_API_TOKEN",
    "start_date": "2017-01-01T00:00:00Z"
}
  1. Create and edit the target config file (target_config.json)
{
    "client_id" : YOUR_CLIENT_ID,
    "token" : "YOUR_TOKEN",
    "small_batch_url": "https://api.stitchdata.com/v2/import/batch",
    "big_batch_url": "https://api.stitchdata.com/v2/import/batch",
    "batch_size_preferences": {}
}
  1. Generate the catalog.json file
tap-exactsales --config tap_config.json --discover > catalog.json

Run

tap-exactsales --config tap_config.json --catalog catalog.json | target-stitch --config target_config.json >> state.json


Copyright © 2019 Jusi

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages