Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 658 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 658 Bytes

Yotpo-Go

In Progress --- Experimental (Expect breaking changes)


Core Yotpo API Functionality in development order

  • Reviews - Merchant
  • Reviews Metadata
  • Questions and Answers (Q&A)
  • Dynamic Coupons
  • Email Analytics

Quick Start

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)
}