This is a Singer tap that produces JSON-formatted data following the Singer spec.
This tap:
- Pulls raw data from Shopify
- Extracts the following resources:
- Outputs the schema for each resource
- Incrementally pulls data based on the input state
- When Metafields are selected, this tap will sync the Shopify store's top-level Metafields and any additional Metafields for selected tables that also have them (ie: Orders, Products, Customers)
-
Install
pip install tap-shopify
-
Create the config file
Create a JSON file called
config.json
. Its contents should look like:{ "start_date": "2010-01-01", "api_key": "<Shopify API Key>", "shop": "test_shop" }
The
start_date
specifies the date at which the tap will begin pulling data (for those resources that support this).The
api_key
is the API key for your Shopify shop generated via an OAuth flow.The
shop
is your Shopify shop which will be the valuetest_shop
in the stringhttps://test_shop.myshopify.com
-
Run the Tap in Discovery Mode
tap-shopify -c config.json -d
See the Singer docs on discovery mode here.
-
Run the Tap in Sync Mode
tap-shopify -c config.json --catalog catalog-file.json
Copyright © 2019 Stitch