Skip to main content

Extract product catalogue (including images) from your Shopify store to JSON files

Project description

If your Shopify store isn’t doing too well, it’s time to close it, but Shopify doesn’t provide an easy way to extract all your product catalogue. This Python utility allows you to do that. I wrote it for and tested it only on my mom’s candle store.

Features

  • Extract products and product variations to a JSON file, one per product

  • Extract product images to a local directory

  • Extract custom collections

Installation

pip install bye-bye-shopify

Configuration

In Shopify Admin, under Apps / Manage private apps (link at the very bottom of the page), create a new private app. The name of the app doesn’t matter. Set the following environment variables by copying the values of API key and Password displayed on the page:

export BYE_BYE_API_KEY="..."
export BYE_BYE_API_PASSWORD="..."

You will also need to set the hostname of your shop which is probably something like yourshopname.myshopify.com:

export BYE_BYE_API_HOSTNAME="yourshopname.myshopify.com"
bye-bye-shopify --help

bye-bye-shopify download_all

ls -al data/products/
ls -al data/custom_collections/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bye-bye-shopify-0.0.1.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

bye_bye_shopify-0.0.1-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page