Shopify reviews crawler fetches all reviews of an app from Shopify app store
$ go get -u github.com/sudoLife/shopify
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)
}
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