william1benn / yotpo-go

yotpo api - go package

Home Page:https://apidocs.yotpo.com/reference/welcome

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

yotpo api - go package

https://apidocs.yotpo.com/reference/welcome


Languages

Language:Go 100.0%