command
module
Version:
v0.0.0-...-cfc12ef
Opens a new window with list of versions in this module.
Published: Jun 17, 2022
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Shopify reviews crawler
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
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.