<noframes id="bhrfl"><address id="bhrfl"></address>

    <address id="bhrfl"></address>

    <noframes id="bhrfl"><address id="bhrfl"><th id="bhrfl"></th></address>

    <form id="bhrfl"><th id="bhrfl"><progress id="bhrfl"></progress></th></form>

    <em id="bhrfl"><span id="bhrfl"></span></em>

    全部
    常見問題
    產品動態
    精選推薦

    Taobao API | Tmall API(Taobao API interface application guide)

    管理 管理 編輯 刪除

    To use Taobao product link to get product details data interface, you can follow the steps below:

    Get the product link: First, you need to get the link of the product. You can get the product link from the e -commerce platforms such as Taobao and Tmall.

    Send HTTP request: Use the HTTP request library in the developer tool or programming language, send GET requests to the Taobao API server, and pass the product link and necessary parameters, such as the API key.

    Processing response data: The server will return to the JSON format response data, including product details information. You can use the programming language you chose to analyze JSON data and extract the product information you need.

    taobao.item_get-Get Taobao product details Data interface code as follows:

    1. Request method: HTTP POST GET (Add WeChat: Taobaoapi2014)

    2. Click thelinkaddress to obtain the API test key and secret

    3. Request Example

    #coding:utf-8

    """

    Compatible for python2.x and python3.x

    requirement: pip install requests

    """

    from __future__ import print_function

    import requests

    #Request example url. The default request parameters have been URL encoded.

    url = "https://api-gw.xxxxx.cn/taobao/item_get/?key=<your own apiKey>&secret=<your own apiSecret>&num_iid=652874751412&is_promotion=1"

    headers = {

       "Accept-Encoding": "gzip",

       "Connection": "close"

    }

    if __name__ == "__main__":

       r = requests.get(url, headers=headers)

       json_obj = r.json()

       print(json_obj)


    4. Response example


    {

       "item": {

         "num_iid": "520813250866",

         "title": "Three-blade wooden folding knife that passes security inspection, creative mini keychain, key knife, saber, portable multi-functional knife, free shipping",

         "desc_short": "",

         "price": 25.8,

         "total_price": 0,

         "suggestive_price": 0,

         "orginal_price": "25.80",

         "nick": "Happy Shopping Inn",

         "num": "832",

         "min_num": 0,

         "detail_url": "http://item.taobao.com/item.htm?id=520813250866",

         "pic_url": "http://img.alicdn.com/imgextra/i4/2596264565/TB2p30elFXXXXXQXpXXXXXXXXXX_!!2596264565.jpg",

         "brand": "三edge木",

         "brandId": "4036703",

         "rootCatId": "50013886",

         "cid": "50014822",

         "favcount": "4824",

         "fanscount": "1469",

         "crumbs": [],

         "created_time": "",

         "modified_time": "",

         "delist_time": "",

         "desc": "<p style=\"text-align:center;\"><span style=\"color:#ff0000;\"><span style=\"font-size:24.0px;\"> <strong>All products in the store support engraving. If you need engraving, just contact customer service before taking the photo.</strong></span></span></p> <p style=\"text-align:center; \"><span style=\"font-size:18.0px;\"><strong>The hot summer is coming, so bring a portable folding knife with you, <span style=\"color:#ff0000;\"> With bottle opener function</span>, you don’t have to worry about drinking. (The key knife does not have a bottle opener function)</strong></span><

    .....


    The use of Taobao product details API interface is as follows:

    Product information display: You can obtain detailed information of the product, such as the product title, price, inventory, sales, evaluation and other data, display product information on your own website or application, and provide users for browsing and purchasing.

    Product recommendation: Provide personalized product recommendations based on the user's browsing behavior and the history of purchasing.

    Data analysis and optimization: Get a large amount of product data, such as sales, collection, evaluation, etc. Analysis through these data, understand the sales of goods and user preferences, and then optimize their own product strategies and marketing solutions.

    Inventory management: Get the inventory information of the product and update the inventory in real time to help merchants arrange inventory reasonably.

    Order Management: Send the detailed information of the order, including order numbers, product information, payment status, etc., helping merchants handle orders in time.

    Purchasing system mall and mall system data, search for purchasing systems or mall systems according to the product link or keyword search, which is convenient for overseas users to purchase Chinese Taobao products.


    請登錄后查看

    用戶19970108018 最后編輯于2023-10-27 18:31:02

    快捷回復
    回復
    回復
    回復({{post_count}}) {{!is_user ? '我的回復' :'全部回復'}}
    排序 默認正序 回復倒序 點贊倒序

    {{item.user_info.nickname ? item.user_info.nickname : item.user_name}} LV.{{ item.user_info.bbs_level }}

    作者 管理員 企業

    {{item.floor}}# 同步到gitee 已同步到gitee {{item.is_suggest == 1? '取消推薦': '推薦'}}
    {{item.is_suggest == 1? '取消推薦': '推薦'}}
    沙發 板凳 地板 {{item.floor}}#
    {{item.user_info.title || '暫無簡介'}}
    附件

    {{itemf.name}}

    {{item.created_at}}  {{item.ip_address}}
    打賞
    已打賞¥{{item.reward_price}}
    {{item.like_count}}
    {{item.showReply ? '取消回復' : '回復'}}
    刪除
    回復
    回復

    {{itemc.user_info.nickname}}

    {{itemc.user_name}}

    回復 {{itemc.comment_user_info.nickname}}

    附件

    {{itemf.name}}

    {{itemc.created_at}}
    打賞
    已打賞¥{{itemc.reward_price}}
    {{itemc.like_count}}
    {{itemc.showReply ? '取消回復' : '回復'}}
    刪除
    回復
    回復
    查看更多
    打賞
    已打賞¥{{reward_price}}
    2234
    {{like_count}}
    {{collect_count}}
    添加回復 ({{post_count}})

    相關推薦

    快速安全登錄

    使用微信掃碼登錄
    {{item.label}} 加精
    {{item.label}} {{item.label}} 板塊推薦 常見問題 產品動態 精選推薦 首頁頭條 首頁動態 首頁推薦
    取 消 確 定
    回復
    回復
    問題:
    問題自動獲取的帖子內容,不準確時需要手動修改. [獲取答案]
    答案:
    提交
    bug 需求 取 消 確 定
    打賞金額
    當前余額:¥{{rewardUserInfo.reward_price}}
    {{item.price}}元
    請輸入 0.1-{{reward_max_price}} 范圍內的數值
    打賞成功
    ¥{{price}}
    完成 確認打賞

    微信登錄/注冊

    切換手機號登錄

    {{ bind_phone ? '綁定手機' : '手機登錄'}}

    {{codeText}}
    切換微信登錄/注冊
    暫不綁定
    亚洲欧美字幕
    CRMEB客服

    CRMEB咨詢熱線 咨詢熱線

    400-8888-794

    微信掃碼咨詢

    CRMEB開源商城下載 源碼下載 CRMEB幫助文檔 幫助文檔
    返回頂部 返回頂部
    CRMEB客服