Skip to content

An easy-to-use crawler to keep track of reviews of an app on Shopify.

License

Notifications You must be signed in to change notification settings

sudoLife/shopify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Shopify reviews crawler

Go Report Card

Buy Me A Coffee

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

Installation

$ go get -u github.com/sudoLife/shopify

Example Code

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

About

An easy-to-use crawler to keep track of reviews of an app on Shopify.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages