Skip to content
/ shopify Public
forked from sudoLife/shopify

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

jfonte/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

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%