Documentation ¶
Index ¶
- type Carouse
- type CarouseListResp
- type Categories
- type Client
- func (c *Client) CarouseList(params map[string]string) (*CarouseListResp, error)
- func (c *Client) GenerateSign(params map[string]string) map[string]string
- func (c *Client) Get(url string, params map[string]string) (string, error)
- func (c *Client) GetDtkSearchGoods(params map[string]string) (string, error)
- func (c *Client) GetGoodsDetails(params map[string]string) (string, error)
- func (c *Client) GetGoodsList(params map[string]string) (string, error)
- func (c *Client) GetPrivilegeLink(params map[string]string) (string, error)
- func (c *Client) GetRankingList(params map[string]string) (string, error)
- func (c *Client) GetSuperCategory(params map[string]string) (*GetSuperCategoryResp, error)
- func (c *Client) GetTbService(params map[string]string) (string, error)
- func (c *Client) GetTop100(params map[string]string) (string, error)
- func (c *Client) JdGoodsSearch(params map[string]string) (string, error)
- func (c *Client) ListSuperGoods(params map[string]string) (string, error)
- func (c *Client) PddGoodsSearch(params map[string]string) (string, error)
- func (c *Client) SearchSuggestion(params map[string]string) (string, error)
- func (c *Client) VIPGoodsSearch(params map[string]string) (string, error)
- type ClientOption
- type GetSuperCategoryResp
- type Subcategories
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CarouseListResp ¶
type Categories ¶
type Categories struct { Cid int `json:"cid"` Cname string `json:"cname"` Cpic string `json:"cpic"` Subcategories []Subcategories `json:"subcategories"` }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(appKey, appSecret string, opts ...ClientOption) *Client
func (*Client) CarouseList ¶
func (c *Client) CarouseList(params map[string]string) (*CarouseListResp, error)
轮播图
func (*Client) GenerateSign ¶
appKey appsecret nonce:一个6位的随机数 timer:毫秒级时间戳
func (*Client) GetDtkSearchGoods ¶
大淘客搜索
func (*Client) GetGoodsDetails ¶
单品详情
func (*Client) GetGoodsList ¶
商品列表
func (*Client) GetPrivilegeLink ¶
高效转链
func (*Client) GetRankingList ¶
热搜记录
func (*Client) GetSuperCategory ¶
func (c *Client) GetSuperCategory(params map[string]string) (*GetSuperCategoryResp, error)
超级分类
func (*Client) GetTbService ¶
联盟搜索
func (*Client) JdGoodsSearch ¶
京东联盟搜索
func (*Client) ListSuperGoods ¶
超级搜索
func (*Client) PddGoodsSearch ¶
拼多多联盟搜索
func (*Client) SearchSuggestion ¶
联想词
type ClientOption ¶
type ClientOption func(*clientOptions)
func WithVersion ¶
func WithVersion(v string) ClientOption
type GetSuperCategoryResp ¶
type Subcategories ¶
Click to show internal directories.
Click to hide internal directories.