Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bidoubiwa/retrieve_products_from_shopify
using the shopify api, retrieves products from given shopify website domain
https://github.com/bidoubiwa/retrieve_products_from_shopify
Last synced: 20 days ago
JSON representation
using the shopify api, retrieves products from given shopify website domain
- Host: GitHub
- URL: https://github.com/bidoubiwa/retrieve_products_from_shopify
- Owner: bidoubiwa
- Created: 2020-08-03T11:47:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-21T07:26:27.000Z (over 1 year ago)
- Last Synced: 2024-12-15T12:06:52.585Z (26 days ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shopify product fetcher
This script will retrieve all products from a given shopify website. Each batch of 250 products will be written in a json file, and added in the `/json` directory at the root of the project.
## Installation
```
yarn install
```## Running
```
yarn start [SHOPIFY_DOMAIN] [BATCH_LIMIT]
```
`SHOPIFY_DOMAIN` expect an url to the shopify you want the products from.
Ex: `https://www.decathlon.com`.
It expects a well formated URL.`BATCH_LIMIT` is not mandatory. Its default value is `30`. It expects an integer.
## Exemple
```
yarn start https://www.decathlon.com
```Once over, head over to the directory called `/json`. Inside you will find files called `page_*.json` each corresponding to maximum `250` products.