Author: Ian McAllister (ian@mcallisternevins.com)
Forked from (& most of the work done by): Author: Drew Banin (drew@fishtownanalytics.com)
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
- Install
pip install singer-tap-amazon-mws
- 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.
- 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.
- Run the application to generate a catalog.
singer-tap-amazon-mws -c config.json -d > catalog.json
- 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.
- Run it!
singer-tap-amazon-mws -c config.json --catalog catalog.json
Copyright © 2019 Fishtown Analytics