shopify

command module
v0.0.0-...-cfc12ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2022 License: MIT Imports: 8 Imported by: 0

README

Shopify reviews crawler

Go Report Card

Shopify reviews crawler fetches all reviews of an app from Shopify app store

Installation
$ go get -u github.com/sudoLife/shopify
Example Code
package main

import (
	"encoding/json"
	"os"
	"github.com/sudoLife/shopify"
)

func main() {
	reviews := shopify.Parse("https://apps.shopify.com/YourApp/reviews")
	enc := json.NewEncoder(os.Stdout)
	enc.SetIndent("", " ")
	
	enc.Encode(reviews)
}
Usage

After above code has been saved as something like get-reviews.go, run the following command to scrape the data in JSON:

$ go run get-reviews.go
Third party libraries

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL