https://github.com/kishaningithub/shopify-csv-download
Download a shopify site in a csv format that the shopify importer understands
https://github.com/kishaningithub/shopify-csv-download
go golang hacktoberfest
Last synced: about 1 year ago
JSON representation
Download a shopify site in a csv format that the shopify importer understands
- Host: GitHub
- URL: https://github.com/kishaningithub/shopify-csv-download
- Owner: kishaningithub
- License: mit
- Created: 2018-10-28T02:55:29.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-01-22T17:30:48.000Z (over 2 years ago)
- Last Synced: 2025-03-27T20:14:22.089Z (over 1 year ago)
- Topics: go, golang, hacktoberfest
- Language: Go
- Homepage:
- Size: 72.3 KB
- Stars: 58
- Watchers: 6
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# shopify csv download
[](https://github.com/kishaningithub/shopify-csv-download/actions/workflows/build.yml)
[](https://godoc.org/github.com/kishaningithub/shopify-csv-download)
[](https://goreportcard.com/report/github.com/kishaningithub/shopify-csv-download)
[](https://github.com/RichardLitt/standard-readme)
[](https://github.com/kishaningithub/shopify-csv-download/releases)
[](https://www.paypal.me/kishansh/15)
Download a shopify site in a csv format that the [shopify importer understands](https://help.shopify.com/en/manual/products/import-export/using-csv#product-csv-file-format)
## Table of Contents
- [shopify csv download](#shopify-csv-download)
- [Table of Contents](#table-of-contents)
- [Install](#install)
- [Using Homebrew](#using-homebrew)
- [Using Binary](#using-binary)
- [Usage](#usage)
- [CLI](#CLI)
- [Library](#Library)
- [Maintainers](#maintainers)
- [Contribute](#contribute)
- [License](#license)
## Install
### Using Homebrew
```bash
brew install kishaningithub/tap/shopify-csv-download
```
### Using Binary
```bash
# All unix environments with curl
curl -sfL https://raw.githubusercontent.com/kishaningithub/shopify-csv-download/master/install.sh | sudo sh -s -- -b /usr/local/bin
# In alpine linux (as it does not come with curl by default)
wget -O - -q https://raw.githubusercontent.com/kishaningithub/shopify-csv-download/master/install.sh | sudo sh -s -- -b /usr/local/bin
```
## Usage
### CLI
Retrieving all publicly exposed products
```bash
shopify-csv-download https://shopify-site.com > shopify-site-products.csv
```
### Library
```go
package main
import (
"log"
"net/url"
"os"
"github.com/kishaningithub/shopify-csv-download/pkg/products"
)
func main() {
siteUrl, err := url.Parse("https://shopify-site.com")
if err != nil {
log.Println(err)
return
}
err = products.SaveAsImportableCSV(*siteUrl, os.Stdout)
if err != nil {
log.Println(err)
return
}
}
```
## Maintainers
[@kishaningithub](https://github.com/kishaningithub)
## Contribute
PRs accepted.
Small note: If editing the README, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification.
## License
MIT © 2021 Kishan B