API (Application Programming Interface) :应用程序编程接口
今天给大家带来获取拼多多商品详情的方法:
一、注册账号
API网站注册后最重要的个人数据是请求key值,每个不同的数据都有与之对应的请求key值,因此账号一定要妥善保存
二、获得API参数
接下来就可以查看获得的参数了
响应示例:
{
"item": {
"num_iid": "1620002566",
"title": "【2件套】套装秋冬新款仿獭兔毛钉珠皮草毛毛短外套加厚大衣女装",
"price": 95.4,
"minGroupPrice": 115,
"maxGroupPrice": 95.4,
"total_price": "",
"desc_short": null,
"cid": 8484,
"orginal_price": 115,
"nick": "果果家气质女装",
"num": 2201,
"sales": 41000,
"detail_url": "https://mobile.yangkeduo.com/goods1.html?goods_id=1620002566",
"desc": "<img src=\"https://t00img.yangkeduo.com/goods/images/2019-02-15/ddf6fe7b-b536-4183-932d-69a1189a3f59.png\" style=\"width:100%;\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/20f659b04d3e7e5851c27ff9931c96fc.jpeg\" style=\"width:100%;\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2019-11-14/4420a8c3-49ed-46d8-ab55-15e7a638ca31.jpg\" style=\"width:100%;\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/26c3e9d5cfbaf4e8f13b2bdd38f48d71.jpeg\" style=\"width:100%;\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/0aa872fa74599dad7b6aefe6b6c035c0.jpeg\" style=\"width:100%;\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/6bc959e32a30424c7a5284a37676999c.jpeg\" style=\"width:100%;\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/1fa9861a8c99c5e9e8119fd2239fef5a.jpeg\" style=\"width:100%;\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/b62cabf1d2320c5761e3f4c15203fb20.jpeg\" style=\"width:100%;\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/6f6e54376a66cbc78e16700d4c424fe1.jpeg\" style=\"width:100%;\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/2f60753dfc875a6876adc35833a69d31.jpeg\" style=\"width:100%;\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/ae0116e589d8de712f8dafd0c356cefe.jpeg\" style=\"width:100%;\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/da910c98fcc8de1b4d2d1498cd7899fd.jpeg\" style=\"width:100%;\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/140349649d8b7d08c8e88bfbbaa2f900.jpeg\" style=\"width:100%;\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/a953bae2eeb7364ef3ef2976a97d07eb.jpeg\" style=\"width:100%;\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/4da59828136c3b1308aad0aa990778a7.jpeg\" style=\"width:100%;\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/4a365b61a80e47288c8609ccd5982396.jpeg\" style=\"width:100%;\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-11-17/cd0a8a96b783a51236812ce24c59a329.jpeg\" style=\"width:100%;\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-11-17/16008ac19768d05e7dee16406ff958a1.jpeg\" style=\"width:100%;\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-11-17/ef1d17b69ebf9449a8bb52459b168c26.jpeg\" style=\"width:100%;\"/><img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-1.62d61922eb361&p=1778787248&k=i_key&t=1658198307\" style=\"display:none\" />",
"item_imgs": [
{
"url": "https://omsproductionimg.yangkeduo.com/images/2017-12-12/bcf848aa71c6389607ae7a84b70f1543.jpeg"
},
{
"url": "https://omsproductionimg.yangkeduo.com/images/2017-12-12/176019babfdecffa1d9f98f40b7e99b4.jpeg"
},
{
"url": "https://omsproductionimg.yangkeduo.com/images/2017-12-12/efb5db42397550bffd3211ca6f197498.jpeg"
},
{
"url": "https://omsproductionimg.yangkeduo.com/images/2017-12-12/d209ef7bcc9183c3bb8ca1dfdb108d49.jpeg"
},
{
"url": "https://omsproductionimg.yangkeduo.com/images/2017-12-12/74257ab65f3f00da7a90fde9042fe640.jpeg"
},
{
"url": "https://img.pddpic.com/goods/images/2019-08-17/e8fbd9cb-cc74-4caa-9380-84c46d27b008.jpg"
},
{
"url": "https://img.pddpic.com/goods/images/2019-08-17/d76f515b-e375-4060-b94e-cf64f6b0964e.jpg"
},
{
"url": "https://img.pddpic.com/goods/images/2019-08-17/f2f279b5-6000-4fbe-b99b-7c1cbd7884ea.jpg"
}
],
"pic_url": "https://omsproductionimg.yangkeduo.com/images/2017-12-12/bcf848aa71c6389607ae7a84b70f1543.jpeg",
"props_name": "1215:1115500378:颜色:粉色两件套(外套+裙子);1215:1115500378:颜色:粉色两件套(外套+裙子);1215:1115500378:颜色:粉色两件套(外套+裙子);1215:1115500378:颜色:粉色两件套(外套+裙子);1215:1115500378:颜色:粉色两件套(外套+裙子);1215:1115500378:颜色:粉色两件套(外套+裙子);1215:1115501666:颜色:米色两件套(外套+裙子);1215:1115501666:颜色:米色两件套(外套+裙子);1215:1115501666:颜色:米色两件套(外套+裙子);1215:1115501666:颜色:米色两件套(外套+裙子);1215:1115501666:颜色:米色两件套(外套+裙子);1215:1115501666:颜色:米色两件套(外套+裙子);1215:105309781:颜色:蓝色两件套(外套+裙子);1215:105309781:颜色:蓝色两件套(外套+裙子);1215:105309781:颜色:蓝色两件套(外套+裙子);1215:105309781:颜色:蓝色两件套(外套+裙子);1215:105309781:颜色:蓝色两件套(外套+裙子);1215:105309781:颜色:蓝色两件套(外套&#