如何通过API接口 获得seller

编程入门 行业动态 更新时间:2024-10-19 02:24:18

如何通过API<a href=https://www.elefans.com/category/jswz/34/1771365.html style=接口 获得seller"/>

如何通过API接口 获得seller

欢迎使用seller_info -淘宝店铺详情API接口(seller_info -淘宝店铺详情)

你好! 这是你使用我们的seller_info -淘宝店铺详情API接口按关键字搜索seller_info -淘宝店铺商品详细接口说明

本帖只展示部分代码及接口 需了解更多或开发系统请移步注册测试:


Result Object:

{
“user”: {
“shop_id”: “”,
“sid”: “”,
“seller_id”: “”,
“nick”: “”,
“shop_name”: “”,
“shop_type”: “C”,
“shop_url”: “/”,
“level”: {
“rank”: 0,
“type”: “”
},
“score”: [],
“tel”: “”,
“data_from”: “PC”
},
“translate_status”: “”,
“translate_time”: 0,
“language”: {
“default_lang”: “cn”,
“current_lang”: “cn”
},
“error”: “”,
“reason”: “”,
“error_code”: “0000”,
“cache”: 0,
“api_info”: “today:15 max:10000 all[38=15+10+15]”,
“execution_time”: “0.098”,
“server_time”: “Beijing/2022-06-09 10:01:37”,
“client_ip”: “106.6.35.77”,
“call_args”: {
“nick”: “lin130021”,
“shop_url”: “/”
},
“api_type”: “taobao”,
“translate_language”: “zh-CN”,
“translate_engine”: “google_new”,
“server_memory”: “0.85MB”,
“request_id”: “gw-4.62a154818edac”,
“last_id”: “1010965521”
}
请求示例:
Curl
PHP
PHPsdk
JAVA
C#
Python

<?php // 请求示例 url 默认请求参数已经URL编码处理 // 本示例代码未加密secret参数明文传输,若要加密请参考:.php $method = "GET"; $url = "/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&nick=lin130021&shop_url=/"; $curl = curl_init(); curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_SSL_VERIFYHOST,FALSE); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,FALSE); curl_setopt($curl, CURLOPT_FAILONERROR, false); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_HEADER, true); curl_setopt($curl, CURLOPT_ENCODING, "gzip"); var_dump(curl_exec($curl)); ?>

更多推荐

如何通过API接口 获得seller

本文发布于:2024-03-10 13:39:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1728122.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:接口   API   seller

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!