淘宝店铺商品API接口返回Api列表
按销量从多到少获取淘宝店铺商品
请求地址
http://www.taoyanhao.com/Api/Rest.ashx?type=GetShopItem
请求参数
名称 | 类型 | 必须 | 描述 |
---|---|---|---|
uid | string | 是 | 网站会员id |
ticks | string | 是 | 13位时间戳,格式为1557052966760,API允许请求最大时间误差为10分钟。 |
shopId | string | 否 | 店铺id,和店铺旺旺参数二传一,2个参数都传则优先店铺id |
nick | string | 否 | 店铺旺旺,和店铺id参数二传一,2个参数都传则优先店铺id |
page | string | 是 | 页数,每页最多10条数据 |
token | string | 是 | 本次请求的签名,算法为:MD5(uid+ticks+nick+shopId+secret)。
【secret在会员中心里,点此查看】 |
返回结果
失败时:
{ "success": false, "info": "非法请求" }
成功时:
{ "data": { "nick": "禁**白", "itemList": [{ "price": "39.80", "title": "卡通动物连体小恐龙睡衣女冬季搞怪可爱情侣成人男大码加厚珊瑚绒", "nick": "禁**白", "itemId": "65484***8415", "rateSum": "11", "pays": "600+人付款", "sales": "665", "stock": "239492", "image": "http://g.search1.alicdn.com/img/bao/uploaded/i4/i4/239***0502/O1CN01TGKA3A1FZxWsr9H0w_!!239***0502.jpg", "userId": "239***0502" }, { "price": "1.00", "title": "预定、邮费、补差价", "nick": "禁**白", "itemId": "62901***2633", "rateSum": "11", "pays": "13人付款", "sales": "13", "stock": "8897", "image": "http://g.search1.alicdn.com/img/bao/uploaded/i4/i1/239***0502/O1CN01Fbn97N1FZxWnUTs2Q_!!239***0502.jpg", "userId": "239***0502" }] }, "balance": "5193", "success": true, "time": "2021-10-23 17:58:47" }
返回参数
名称 | 类型 | 描述 |
---|