heyra-tbk

module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2021 License: Apache-2.0

README

heyra-tbk

download

go get github.com/Heyra-Joker/heyra-tbk

have old version, update

go get github.com/Heyra-Joker/heyra-tbk@releases

like

go get github.com/Heyra-Joker/heyra-tbk@v1.0.0

Usage
package main

import (
	"fmt"
	"github.com/Heyra-Joker/heyra-tbk/api"
)

func main() {
	
	// init
	var rest = api.Rest{}
	var req = api.TbkDgOptimusPromotionRequest{}
	
	rest.RestUrl = "xxx"
	rest.AppSecret = "xxx"
	rest.AppKey = "xxxx"
	
	// rest.Other = map[string]string{"xxx":"xxx"} if public params not in Rest.
	
	req.AdzoneId = "xxxx"
	req.PromotionId = "xxxx"
	
	// get response
	data, err := req.GetResponse(rest)
	
	fmt.Println(data, err)
}
Methods
  • tbkCouponGetRequest.go
  • tbkDgOptimusMaterialRequest.go
  • tbkDgVegasTljInstanceReportRequest.go
  • tbkShopRecommendGetRequest.go
  • juItemsSearchRequest.go
  • tbkDgMaterialOptionalRequest.go
  • tbkDgOptimusPromotionRequest.go
  • tbkItemInfoGetRequest.go
  • tbkTpwdCreateRequest.go
  • tbkActivityInfoGetRequest.go
  • tbkDgOptimusMaterial.go
  • tbkDgVegasTljCreateRequest.go
  • tbkShopGetRequest.go

Directories

Path Synopsis
@author:Joker @file: api.go @time: 2021/7/12/11:10 上午 @blog: https://github.com/joker-heyra @description: tbk api 公共参数 https://open.taobao.com/doc.htm?docId=101617&docType=1 🤡 code is far away from bugs with the god animal protecting I love animals.
@author:Joker @file: api.go @time: 2021/7/12/11:10 上午 @blog: https://github.com/joker-heyra @description: tbk api 公共参数 https://open.taobao.com/doc.htm?docId=101617&docType=1 🤡 code is far away from bugs with the god animal protecting I love animals.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL