jd

package module
v0.0.0-...-4894b30 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 5 Imported by: 0

README

UNION-GO

Go Doc GoFrame CI Go Report Production Ready License

JD.com Alliance Open platform API Interface Golang SDK (Development Kit)

JD.com Alliance optimizes the core competence of the alliance, such as commodity pool, chain switching ability, effect query, marketing tools, etc. API.

京东联盟开放平台API(golang)

https://union.jd.com/openplatform/api

APIs

功能 API列表
京粉精选商品查询接口 jd.union.open.goods.jingfen.query
订单查询接口 jd.union.open.order.query
关键词商品查询接口【申请】 jd.union.open.goods.query
网站/APP获取推广链接接口 jd.union.open.promotion.common.get
根据skuid查询商品信息接口 jd.union.open.goods.promotiongoodsinfo.query
优惠券领取情况查询接口【申请】 jd.union.open.coupon.query
社交媒体获取推广链接接口【申请】 jd.union.open.promotion.bysubunionid.get
工具商获取推广链接接口【申请】 jd.union.open.promotion.byunionid.get
查询推广位【申请】 jd.union.open.position.query
创建推广位【申请】 jd.union.open.position.create
获取PID【申请】 jd.union.open.user.pid.get
秒杀商品查询接口【申请】 jd.union.open.goods.seckill.query
学生价商品查询接口【申请】 jd.union.open.goods.stuprice.query
商品类目查询接口 jd.union.open.category.goods.get
商品详情查询接口【申请】 jd.union.open.goods.bigfield.query
奖励订单查询接口【申请】 jd.union.open.order.bonus.query
礼金停止【申请】 jd.union.open.coupon.gift.stop
礼金创建【申请】 jd.union.open.coupon.gift.get
礼金效果数据 jd.union.open.statistics.giftcoupon.query
活动查询接口 jd.union.open.activity.query
订单行查询接口 jd.union.open.order.row.query

Installation

Enter your repo. directory and execute following command:

go get -u -v github.com/houseme/union-go

Limitation

golang version >= 1.18

License

UNION-JD-GO is licensed under the MIT License, 100% free and open-source, forever.

Documentation

Overview

Package jd is a jd service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UnionJD

type UnionJD struct {
}

UnionJD is a jd service.

func NewUnionJD

func NewUnionJD() *UnionJD

NewUnionJD returns a jd service.

func (*UnionJD) GetGoods

func (u *UnionJD) GetGoods(ctx context.Context, c *config.Config) (*goods.Goods, error)

GetGoods to get goods

func (*UnionJD) GetOrders

func (u *UnionJD) GetOrders(ctx context.Context, c *config.Config) (*orders.Orders, error)

GetOrders to get orders

func (*UnionJD) Version

func (u *UnionJD) Version() string

Version returns the version of the jd service.

Directories

Path Synopsis
Package config is a config for union-go
Package config is a config for union-go
Package goods implements the use case for JD goods.
Package goods implements the use case for JD goods.
Package orders is an internal service.
Package orders is an internal service.
Package pkg is an internal service.
Package pkg is an internal service.

Jump to

Keyboard shortcuts

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