Core Yotpo API Functionality in development order
- Reviews - Merchant
- Reviews Metadata
- Questions and Answers (Q&A)
- Dynamic Coupons
- Email Analytics
Import Yotpo-go package
go get https://github.com/william1benn/yotpo-go
Example Client and Method
import (
y "https://github.com/william1benn/yotpo-go"
)
//Create Client
yClient := y.NewYotpoClient("AppIdString", "ApiSecretKey")
//Invoke Method
response, _ := yClient.RetrieveAllReviews(nil)
for _, r := range response.GetReviews {
fmt.Println(r.Name)
}