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