Skip to content

adswerve/singer-tap-amazon-mws

 
 

Repository files navigation

singer-tap-amazon-mws

Author: Ian McAllister ([email protected])

Forked from (& most of the work done by): Author: Drew Banin ([email protected])

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

It:

  • Generates a catalog of available data in the Amazon MWS API
  • Extracts the following resources:
    • Orders
    • OrderItems

Quick Start

  1. Install
pip install singer-tap-amazon-mws
  1. Get credentials from Amazon

The following credentials are required:

  • access_key
  • secret_key
  • seller_id
  • region
  • marketplace_ids

See the section on creating a config file below for more information about these credentials.

  1. Create the config file.

There is a template you can use at config.json.example, just copy it to config.json in the repo root and insert your credentials.

  1. Run the application to generate a catalog.
singer-tap-amazon-mws -c config.json -d > catalog.json
  1. Select the tables you'd like to replicate

Step 4 a file called catalog.json that specifies all the available endpoints and fields. You'll need to open the file and select the ones you'd like to replicate. See the Singer guide on Catalog Format for more information on how tables are selected.

  1. Run it!
singer-tap-amazon-mws -c config.json --catalog catalog.json

Copyright © 2019 Fishtown Analytics

Packages

No packages published

Languages

  • Python 96.1%
  • Shell 3.9%