Git Product home page Git Product logo

shopify-csv-download's Introduction

shopify csv download

Build Status Go Doc Go Report Card standard-readme compliant Latest release Buy me a lunch

Download a shopify site in a csv format that the shopify importer understands

Table of Contents

Install

Using Homebrew

brew install kishaningithub/tap/shopify-csv-download

Using Binary

# 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

shopify-csv-download https://shopify-site.com > shopify-site-products.csv

Library

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

Contribute

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2021 Kishan B

shopify-csv-download's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar kishaningithub avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.