• 淘宝/天猫API:seller_info-获得淘宝店铺详情


    万邦淘宝/天猫获得淘宝店铺详情 API 返回值说明

    seller_info-获得淘宝店铺详情

    onebound.taobao.seller_info

    公共参数

    请求地址: https://console.open.onebound.cn/console/?i=pony

    名称类型必须描述
    keyString调用key(必须以GET方式拼接在URL中)
    secretString调用密钥
    api_nameStringAPI接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等]
    cacheString[yes,no]默认yes,将调用缓存的数据,速度比较快
    result_typeString[json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读
    langString[cn,en,ru]翻译语言,默认cn简体中文
    versionStringAPI版本

    请求参数

    请求参数:nick=lin130021&shop_url=https://shop63387065.taobao.com/

    参数说明:nick:掌柜昵称
    shop_url:PC端店铺主页地址

    响应参数

    Version: Date:

    名称类型必须示例值描述

    shop_id

    Bigint063387065店铺ID

    sid

    Bigint063387065

    seller_id

    Bigint059531614卖家ID

    nick

    String0lin130021掌柜名字

    shop_name

    String0外新人 琳琳店铺名

    shop_type

    String0c店铺类型

    shop_url

    String0https://shop63387065.taobao.com/店铺主页

    level

    Mix0{"rank": 5,"type":"cap"}店铺等级

    score

    Mix0[]店铺评分

    tel

    String01891226351电话

    data_from

    String0
    	
    -- 请求示例 url 默认请求参数已经URL编码处理
    curl -i "https://api-gw.onebound.cn/taobao/seller_info/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&nick=lin130021&shop_url=https://shop63387065.taobao.com/"

    响应示例

     ​​​​​​获取key和secret

    ---------------------------------------
    Result Object:
    ---------------------------------------
    {
        "user": {
            "shop_id": "123858060",
            "sid": "123858060",
            "seller_id": "2548622030",
            "nick": "ninebot旗舰店",
            "shop_name": "ninebot旗舰店",
            "shop_type": "B",
            "shop_url": "https://ninebot.tmall.com/shop/view_shop.htm?spm=a230r.1.14.14.4013517foOHOaa",
            "level": [],
            "score": [
                {
                    "score_type": "描述相符",
                    "score": "4.8",
                    "socre_text": "高于27.84%"
                },
                {
                    "score_type": "服务态度",
                    "score": "4.8",
                    "socre_text": "高于16.37%"
                },
                {
                    "score_type": "发货速度",
                    "score": "4.9",
                    "socre_text": "高于30.93%"
                }
            ],
            "tel": "",
            "data_from": "PC"
        },
        "secache": "42424eb1a0458b345b6f851e6528509f",
        "secache_time": 1659162390,
        "secache_date": "2022-07-30 14:26:30",
        "translate_status": "",
        "translate_time": 0,
        "language": {
            "default_lang": "cn",
            "current_lang": "cn"
        },
        "error": "",
        "reason": "",
        "error_code": "0000",
        "cache": 0,
        "api_info": "today:26 max:10100 all[42=26+0+16];expires:2030-12-31",
        "execution_time": "2.512",
        "server_time": "Beijing/2022-07-30 14:26:30",
        "client_ip": "106.6.33.38",
        "call_args": {
            "nick": "ninebot旗舰店",
            "shop_url": "https://ninebot.tmall.com/shop/view_shop.htm?spm=a230r.1.14.14.4013517foOHOaa"
        },
        "api_type": "taobao",
        "translate_language": "zh-CN",
        "translate_engine": "baidu_api",
        "server_memory": "5.91MB",
        "request_id": "gw-3.62e4cf13e482d",
        "last_id": "1115193388"
    }

  • 相关阅读:
    通过电商项目,详解抓包到接口测试,附图片验证码 +cookie 问题处理!
    AI 编程与研发效能论坛 笔记摘录
    MAC地址、IP地址以及ARP协议详细讲解
    开学季征文丨来大学已两年,我还有几个两年?
    4.1.2
    如何优♂雅地学习GDB调试
    大一作业HTML网页作业:中华传统文化题材网页设计5页(纯html+css实现)
    Macos文件图像比较工具:Kaleidoscope for Mac
    npm 如何更新项目最新依赖包
    计算机网路第3章-运输层
  • 原文地址:https://blog.csdn.net/m0_72059466/article/details/126071703