Skip to content

goes-funky/tap-amazon-mws

 
 

Repository files navigation

tap-amazon-mws

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
git clone [email protected]:fishtown-analytics/tap-amazon-mws.git
cd tap-amazon-mws
pip install .
  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.
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!
tap-amazon-mws -c config.json --catalog catalog.json

Copyright © 2019 Fishtown Analytics

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.0%
  • Shell 4.0%