温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

python怎么实现带货商品详情表

发布时间:2022-03-17 17:35:06 来源:亿速云 阅读:391 作者:iii 栏目:大数据

这篇“python怎么实现带货商品详情表”文章的知识点大部分人都不太理解,所以小编给大家总结了以下内容,内容详细,步骤清晰,具有一定的借鉴价值,希望大家阅读完这篇文章能有所收获,下面我们一起来看看这篇“python怎么实现带货商品详情表”文章吧。

抖音Api:带货商品详情

请求Api

http://主机地址/douyin/promotion/detail?token=xxx&pid=61088777146700

请求方式

GET

参数

字段类型说明
tokenstring接口授权码
pidint商品的promotion_id

返回示例

{
  "code": 200,
  "data": {
    "extra": {
      "fatal_item_ids": [
      ],
      "logid": "202009142312040101440611633128EFDF",
      "now": 1600096324000
    },
    "log_pb": {
      "impr_id": "202009142312040101440611633128EFDF"
    },
    "page_style": {
      "comment_page_tag_max": 0,
      "detail_page_stats_show": true,
      "detail_page_tag_max": 3,
      "detail_page_tag_show": false
    },
    "promotions": [
      {
        "base_info": {
          "images": [
            {
              "height": 720,
              "uri": "cmp-ecom-alliance/FrchgUilgiPUABAlgrhBP7dHpbdM.jpg",
              "url_list": [
                "https://cache.yisu.com/upload/information/20210521/347/245769.jpg",
                "https://cache.yisu.com/upload/information/20210521/347/245770.jpg",
                "https://cache.yisu.com/upload/information/20210521/347/245771.jpg"
              ],
              "width": 720
            },
            {
              "height": 720,
              "uri": "cmp-ecom-alliance/FrY8LkT_UB641SxMNh7iEoqBizyt.jpg",
              "url_list": [
                "https://cache.yisu.com/upload/information/20210521/347/245772.jpg",
                "https://cache.yisu.com/upload/information/20210521/347/245773.jpg",
                "https://cache.yisu.com/upload/information/20210521/347/245773.jpg"
              ],
              "width": 720
            },
            {
              "height": 720,
              "uri": "cmp-ecom-alliance/FiUJxCUkpyatcpQ6K3-7q84_sJNv.jpg",
              "url_list": [
                "https://cache.yisu.com/upload/information/20210521/347/245774.jpg",
                "https://cache.yisu.com/upload/information/20210521/347/245776.jpg",
                "https://cache.yisu.com/upload/information/20210521/347/245777.jpg"
              ],
              "width": 720
            },
            {
              "height": 720,
              "uri": "cmp-ecom-alliance/FtTMbV5XjNQzu32mQgi2hcWWhRHt.jpg",
              "url_list": [
                "https://cache.yisu.com/upload/information/20210521/347/245778.jpg",
                "https://cache.yisu.com/upload/information/20210521/347/245779.jpg",
                "https://cache.yisu.com/upload/information/20210521/347/245780.jpg"
              ],
              "width": 720
            },
            {
              "height": 720,
              "uri": "cmp-ecom-alliance/Fpte4oGTdlmtk0tai4uUmNCLDPyP.jpg",
              "url_list": [
                "https://cache.yisu.com/upload/information/20210521/347/245781.jpg",
                "https://cache.yisu.com/upload/information/20210521/347/245782.jpg",
                "https://cache.yisu.com/upload/information/20210521/347/245783.jpg"
              ],
              "width": 720
            }
          ],
          "links": {
            "h6_url": "https://item.taobao.com/item.htm?id=610887771467"
          },
          "price": {
            "market_price": 32800,
            "min_price": 30520
          },
          "product_id": "610887771467",
          "promotion_id": "61088777146700",
          "promotion_source": 7,
          "promotion_source_text": "商品来自淘宝",
          "sales": 291,
          "sold_out": false,
          "status": 4,
          "title": "MIUCO设计感复古系带收腰中长款黑色休闲西装外套女2020春装新款k"
        },
        "entry_info": {
        },
        "extra_info": {
          "buy_button": {
            "links": {
              "h6_url": "https://item.taobao.com/item.htm?id=610887771467"
            },
            "order_status": 0,
            "text": "去淘宝看看"
          },
          "favorited": false,
          "pay_type": 0,
          "shop_id": "0",
          "visitor_count": 513173
        },
        "page_coms_config": {
          "display_gyl": false,
          "display_want": true,
          "store_icon": false
        },
        "privilege_info": {
          "activities": {
          }
        }
      }
    ],
    "status_code": 0
  },
  "msg": "success"
}

以上就是关于“python怎么实现带货商品详情表”这篇文章的内容,相信大家都有了一定的了解,希望小编分享的内容对大家有帮助,若想了解更多相关的知识内容,请关注亿速云行业资讯频道。

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI