首页 > 其他分享 >Taobao API interface: Taobao product details data interface

Taobao API interface: Taobao product details data interface

时间:2024-09-14 09:24:30浏览次数:3  
标签:product Get buyer list item Taobao interface

Interface Overview
Common interface: taobao.item_get, used to obtain product details data.
Return information: You can obtain a lot of information about the product, such as product name, price, sales, evaluation, store information, etc. Specifically including product ID, title, description, price, inventory, sales, main picture, detail page picture, brand, specification, place of shipment, express delivery fee, etc.

——On the road of growth, we are all fellow travelers. I hope this article about the Taobao product details information interface for product selection can help you. I look forward to sharing more e-commerce knowledge with you, please remember to follow Taobaoapi2014.

How to use the interface
1. Register and apply for permissions
You need to register an account on the Taobao open platform and apply for corresponding API permissions, which usually involves submitting company information, development plans, etc., and waiting for review.
2. Determine interface parameters
Required parameters:
num_iid: Taobao product ID, used to uniquely identify the product, obtained through product links or other methods.
is_promotion: Whether to obtain the promotional price, a Boolean value, you can decide whether to pass this parameter according to your needs.
Other optional public parameters (part):
key: Call key, must be spliced ​​in the URL in get mode.
secret: Call key.
api_name: API interface name (such as item_search, item_get, item_search_shop, etc.).
cache: whether to call cached data (yes or no, default is yes, faster).
result_type: return data format, default is json, the content output by jsonu can be read directly in Chinese.
lang: translation language, default is cn simplified Chinese.
version: api version.
3. Call example (using Python as an example)
The following is a sample code for calling Taobao product details data interface using Python's requests library. Please note that the apikey and apisecret in the code need to be replaced with the actual values ​​you applied for:

import requests # Request example url, the default request parameters have been url encoded url = "https://api-wx.taobaoapi2014.cn/taobao/item_get/?key=<your own apikey>&secret=<your own apisecret>&num_iid=商品ID&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)

Notes

This API currently supports the following basic interfaces:

item_get Get Taobao product details
item_get_pro Get Taobao product details advanced version
item_review Get Taobao product reviews
item_fee Get Taobao product courier fees
item_password Get Taobao password real URL
item_list_updown Get Taobao product launch and launch time in batches
seller_info Get Taobao store details
item_search Search Taobao products by keyword
item_search_tmall Search Tmall products by keyword
item_search_pro Advanced keyword search Taobao products
item_search_img Search Taobao products by image (Pai Li Tao)
item_search_shop Get all products in the store
item_search_seller Search store list
item_search_guang Love shopping
item_search_suggest Get search term recommendations
item_search_jupage Daily specials
item_search_coupon Coupon query
cat_get Get Taobao category details
item_cat_get Get Taobao product categories
item_search_samestyle Search for the same product
item_search_similar Search for similar products
item_sku Get sku details
item_recommend Get a list of recommended products
brand_cat Get a list of brand categories
brand_cat_top Get a list of recommended brands by category
brand_cat_list Get a list of brands in a specified category
brand_keyword_list Get a list of brands with a specified keyword
brand_info Get brand-related information
brand_product_list Get products of a specified brand
custom Custom API operations
buyer_cart_add Add to cart
buyer_cart_remove Delete cart items
buyer_cart_clear Clear cart
buyer_cart_list Get a list of cart items
buyer_cart_order Save cart items as orders
buyer_order_list Get a list of purchased orders
buyer_order_detail Get purchased order details
buyer_order_express Get the logistics of the purchased goods order
buyer_order_message Get the buyer's message for the purchased order
buyer_address_list List of delivery addresses
buyer_address_clear Clear the delivery address
buyer_address_remove Delete the delivery address
buyer_address_modify Modify the delivery address
buyer_address_add Add a delivery address
buyer_info Buyer information
buyer_token Buyer token
seller_order_list Get the list of sold goods orders
seller_order_detail Get the details of the sold goods order
seller_order_close The seller closes a transaction
seller_order_message Get or modify the notes of the sold order
seller_auction_list List of goods that can be put on and off the shelves
seller_auction Put goods on and off the shelves
seller_item_add Upload goods
upload_img Upload pictures to Taobao
img2text Picture recognition product interface
tbk_order_query Taobao customer order query
item_list_weight Batch obtain product information
item_history_price Get product history price information
item_get_app Get Taobao app product details original data

标签:product,Get,buyer,list,item,Taobao,interface
From: https://blog.csdn.net/tbapi2017/article/details/142248143

相关文章

  • Taobao API interface: Get Taobao product details data based on product ID
    TaobaoproductdetailsdataAPIinterfaceisasetofinterfacesprovidedbyTaobaoOpenPlatformforobtainingdetailedinformationofTaobaoproducts.Throughtheseinterfaces,developerscanintegrateTaobaoproductdataintheirownapplicationsorsy......
  • win7连接手机提示ADB Interface 找不到驱动程序
    描述:准备在电脑上使用ADB命令调试手机时,发现手机驱动无法安装,如下图 解决方法:下载GoogleAndroid驱动程序链接:https://pan.baidu.com/s/16ZCp0w1DhDcf4FUNZkKs1Q?pwd=92qq提取码:92qq复制这段内容后打开百度网盘手机App,操作更方便哦1、打开计算机管理 2、更新ADB......
  • “Interface 和 Type 区别”深度解析
    “Interface和Type区别”深度解析文章目录一、Interface和Type是什么二、如何使用Interface和Type1.定义Interface2.定义Type3.使用Interface和Type4.区别与联系三、Interface和Type二者有哪些区别,分别在哪些场景使用1.区别2.场景......
  • CF2006D Iris and Adjacent Products
    题意https://codeforces.com/contest/2006/problem/D分析考虑如果没有修改怎么重排最优。先把最大值丢进序列,再把最小值丢进序列,再把次大值丢进序列,再把次小值压进去,以此类推。感性理解的话不难发现这是最优情况,具体证明可以考虑调整法(但我懒)。令\(b\)为\(a\)排序后的结果......
  • PLC结构化文本(ST)——接口引用转换(__QUERYINTERFACE)
    PLCStructuredTextObjectOrientedProgrammingPLC结构化文本(ST)——接口引用转换(__QUERYINTERFACE)__QUERYINTERFACE运算符__QUERYPOINTER是IEC61131-3的扩展,该运算符允许在运行时将一个接口引用转换成另一个接口的引用。返回值BOOL类型:True表示转换成功,Flase表示转换失败。......
  • 如何使用API接口获取 TaoBao 商品数据详情
    在电子商务的快速发展中,淘宝作为中国最大的电商平台之一,提供了丰富的API接口,使得开发者能够高效地获取淘宝商品的详细信息。这些信息包括商品的基本属性、价格、库存状态、销售策略、卖家信息等,对于电商分析、市场研究或者商品信息管理等场景非常有用。什么是淘宝API接口?淘......
  • 题解:AT_arc116_b [ARC116B] Products of Min-Max
    在题库里面乱翻,就翻到了。因为在这道题里面子序列不需要考虑元素顺序,所以原序列无论是什么顺序都不会影响答案。所以先把元素按照从大到小的顺序排列,然后考虑每个元素的贡献。在当前序列中,对于元素\(a_i\),不妨设其为最小值,并去寻找它能作为哪些序列的最小值。容易发现它作为最......
  • CP AUTOSAR标准之EthernetInterface(AUTOSAR_SWS_EthernetInterface)(更新中……)
    1简介和功能概述  该规范指定了AUTOSAR基础软件模块以太网接口的功能、API和配置。  在AUTOSAR分层软件架构[1]中,以太网接口属于ECU抽象层,或者更准确地说,属于通信硬件抽象。  这表明了以太网接口的主要任务:  为上层提供独立于硬件的以太网通信系统接口,该系统由......
  • 【Moveit2】MoveGroupInterface设置目标姿态,然后创建一个计划到该姿态的运动路径,stati
    PlanandExecuteusingMoveGroupInterface//CreatetheMoveItMoveGroupInterfaceusingmoveit::planning_interface::MoveGroupInterface;automove_group_interface=MoveGroupInterface(node,"panda_arm");//SetatargetPoseautoconsttarget_p......
  • PLC结构化文本(ST)——接口(Interface)
    PLCStructuredTextObjectOrientedProgrammingPLC结构化文本(ST)——接口(Interface)接口定义接口定义了所有类继承接口时应遵循的语法合同。接口定义了语法合同"是什么"部分,派生类定义了语法合同"怎么做"部分。接口定义了属性、方法和事件,这些都是接口的成员。接口只包......