https://github.com/huaqi666/jd-go
golang版京东联盟SDK
https://github.com/huaqi666/jd-go
go golang jd jingdong sdk travis-image travis-url
Last synced: 5 months ago
JSON representation
golang版京东联盟SDK
- Host: GitHub
- URL: https://github.com/huaqi666/jd-go
- Owner: huaqi666
- License: apache-2.0
- Created: 2020-11-16T09:44:13.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-22T02:19:09.000Z (over 5 years ago)
- Last Synced: 2024-06-21T18:00:08.925Z (almost 2 years ago)
- Topics: go, golang, jd, jingdong, sdk, travis-image, travis-url
- Language: Go
- Homepage:
- Size: 101 KB
- Stars: 11
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## jd-go - 京东联盟开发 Golang SDK(开发工具包)
[![travis-image]][travis-url]
[](https://opensource.org/licenses/Apache-2.0)
### 使用方式
注意:最新版本(包括测试版)为 [](https://github.com/cliod/jd-go/releases)
```shell script
go get -u github.com/cliod/jd-go
```
### 项目架构
| 包名 | 描述 |
| --- | --- |
| [common](./common) | 公共组件 |
| [log](./log) | 日志组件 |
| [util](./util) | 工具 |
### 使用Demo
使用例子:
```go
j := NewJdService("", "")
// goods api
g := j.GetGoodsService()
res, err := g.GoodsJingfenQuery(&GoodsJingfenQueryRequest{
EliteId: 33,
})
if err != nil {
fmt.Println(res)
}
```
[travis-image]: https://api.travis-ci.com/cliod/jd-go.svg?branch=main
[travis-url]: https://travis-ci.com/cliod/jd-go