亚马逊API调用方法

item_get-获得AMAZON商品详情

onebound.amazon.item_get

公共参数

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

 响应示例

{
    "item": {
        "detail_url": "https://www.amazon.cn/dp/B096DKM28F?th=1&psc=1",
        "crumbs": {
            "51869071": "衬衫",
            "2016156051": "服饰箱包",
            "2152155051": "男装",
            "2154533051": "休闲衬衫"
        },
        "title": "Columbia 哥伦比亚 男式 Tech Trail 针织短袖",
        "desc_short": "",
        "brand": "",
        "brandId": "",
        "end_time": "",
        "rootCatId": "2016156051",
        "cid": "2154533051",
        "star": "4-5",
        "item_imgs": [
            {
                "url": "https://images-cn.ssl-images-amazon.cn/images/I/41LoT2kQX1L._AC_.jpg"
            },
            {
                "url": "https://images-cn.ssl-images-amazon.cn/images/I/31FbO5z69VL._AC_.jpg"
            },
            {
                "url": "https://images-cn.ssl-images-amazon.cn/images/I/31NgWsjZcZL._AC_.jpg"
            },
            {
                "url": "https://images-cn.ssl-images-amazon.cn/images/I/41pT49Rs23L._AC_.jpg"
            },
            {
                "url": "https://images-cn.ssl-images-amazon.cn/images/I/31FAOaPMaoL._AC_.jpg"
            },
            {
                "url": "https://images-cn.ssl-images-amazon.cn/images/I/41cBHusI88L._AC_.jpg"
            }
        ],
        "nick": "Columbia 哥伦比亚",
        "num": "99",
        "num_iid": "B096DKM28F",
        "pic_url": "//images-cn.ssl-images-amazon.cn/images/I/616pFn7GfZL._AC_UX425_.jpg",
        "currency_code": "CNY",
        "price": "23.65",
        "orginal_price": "23.65",
        "location": "",
        "item_weight": null,
        "item_size": "",
        "post_fee": "",
        "express_fee": "",
        "prop_imgs": {
            "prop_img": [
                {
                    "properties": "1:1",
                    "url": "https://images-cn.ssl-images-amazon.cn/images/I/41LoT2kQX1L._SX38_SY50_CR,0,0,38,50_.jpg"
                },
                {
                    "properties": "1:0",
                    "url": "https://images-cn.ssl-images-amazon.cn/images/I/41yz4XKPrZL._SX38_SY50_CR,0,0,38,50_.jpg"
                },
                {
                    "properties": "1:2",
                    "url": "https://images-cn.ssl-images-amazon.cn/images/I/31RvYhEh+WL._SX38_SY50_CR,0,0,38,50_.jpg"
                }
            ]
        },
        "props_img": {
            "1:1": "https://images-cn.ssl-images-amazon.cn/images/I/41LoT2kQX1L._SX38_SY50_CR,0,0,38,50_.jpg",
            "1:0": "https://images-cn.ssl-images-amazon.cn/images/I/41yz4XKPrZL._SX38_SY50_CR,0,0,38,50_.jpg",
            "1:2": "https://images-cn.ssl-images-amazon.cn/images/I/31RvYhEh+WL._SX38_SY50_CR,0,0,38,50_.jpg"
        },
        "props_name": "0:0:尺寸:X-S;0:1:尺寸:XX-L;0:2:尺寸:X大码;1:1:颜色:美味;1:0:颜色:Icy Morn;1:2:颜色:鲨鱼色",
        "property_alias": "0:0:X-S;0:1:XX-L;0:2:X大码;1:1:美味;1:0:Icy Morn;1:2:鲨鱼色",
        "props_list": {
            "0:0": "尺寸:X-S",
            "0:1": "尺寸:XX-L",
            "0:2": "尺寸:X大码",
            "1:1": "颜色:美味",
            "1:0": "颜色:Icy Morn",
            "1:2": "颜色:鲨鱼色"
        },
        "seller_info": {
            "nick": "Columbia 哥伦比亚",
            "city": "",
            "bail": "",
            "level": "",
            "rate": "",
            "score": "",
            "delivery_score": "",
            "item_score": "",
            "shop_type": "",
            "user_num_id": "1",
            "sid": "1",
            "title": "Columbia 哥伦比亚",
            "zhuy": "https://www.amazon.cn/",
            "company_name": "",
            "menu": []
        },
        "error": "",
        "warning": "",
        "shopinfo": {
            "shop_name": ""
        },
        "shop_item": [],
        "relate_items": [],
        "skus": {
            "sku": [
                {
                    "price": "23.65",
                    "orginal_price": "23.65",
                    "properties": "0:2;1:1",
                    "properties_name": "0:2:尺寸:X大码;1:1:颜色:美味",
                    "quantity": 99,
                    "sku_id": "B096DXGW8C",
                    "sku_url": "https://www.amazon.cn/dp/B096DXGW8C?th=1&psc=1"
                },
                {
                    "price": "23.65",
                    "orginal_price": "23.65",
                    "properties": "0:2;1:0",
                    "properties_name": "0:2:尺寸:X大码;1:0:颜色:Icy Morn",
                    "quantity": 99,
                    "sku_id": "B096DBS86S",
                    "sku_url": "https://www.amazon.cn/dp/B096DBS86S?th=1&psc=1"
                },
                {
                    "price": "23.65",
                    "orginal_price": "23.65",
                    "properties": "0:2;1:2",
                    "properties_name": "0:2:尺寸:X大码;1:2:颜色:鲨鱼色",
                    "quantity": 99,
                    "sku_id": "B096DQDB7S",
                    "sku_url": "https://www.amazon.cn/dp/B096DQDB7S?th=1&psc=1"
                },
                {
                    "price": "23.65",
                    "orginal_price": "23.65",
                    "properties": "0:1;1:1",
                    "properties_name": "0:1:尺寸:XX-L;1:1:颜色:美味",
                    "quantity": 99,
                    "sku_id": "B096DDNKCD",
                    "sku_url": "https://www.amazon.cn/dp/B096DDNKCD?th=1&psc=1"
                },
                {
                    "price": "23.65",
                    "orginal_price": "23.65",
                    "properties": "0:0;1:2",
                    "properties_name": "0:0:尺寸:X-S;1:2:颜色:鲨鱼色",
                    "quantity": 99,
                    "sku_id": "B096DK93S8",
                    "sku_url": "https://www.amazon.cn/dp/B096DK93S8?th=1&psc=1"
                },
                {
                    "price": "23.65",
                    "orginal_price": "23.65",
                    "properties": "0:0;1:0",
                    "properties_name": "0:0:尺寸:X-S;1:0:颜色:Icy Morn",
                    "quantity": 99,
                    "sku_id": "B096DQNPHX",
                    "sku_url": "https://www.amazon.cn/dp/B096DQNPHX?th=1&psc=1"
                },
                {
                    "price": "23.65",
                    "orginal_price": "23.65",
                    "properties": "0:1;1:0",
                    "properties_name": "0:1:尺寸:XX-L;1:0:颜色:Icy Morn",
                    "quantity": 99,
                    "sku_id": "B096DHS362",
                    "sku_url": "https://www.amazon.cn/dp/B096DHS362?th=1&psc=1"
                },
                {
                    "price": "23.65",
                    "orginal_price": "23.65",
                    "properties": "0:1;1:2",
                    "properties_name": "0:1:尺寸:XX-L;1:2:颜色:鲨鱼色",
                    "quantity": 99,
                    "sku_id": "B096DMBW2M",
                    "sku_url": "https://www.amazon.cn/dp/B096DMBW2M?th=1&psc=1"
                },
                {
                    "price": "23.65",
                    "orginal_price": "23.65",
                    "properties": "0:0;1:1",
                    "properties_name": "0:0:尺寸:X-S;1:1:颜色:美味",
                    "quantity": 99,
                    "sku_id": "B096D8F3R2",
                    "sku_url": "https://www.amazon.cn/dp/B096D8F3R2?th=1&psc=1"
                }
            ]
        },
        "desc": "<div>       <!-- show up to 2 reviews by default -->\n                   <p> <span>无论天气如何,这款服装和装备都能让您保持舒适并享受全季保护。</span>  </p>          </div>  <img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-4.62e0d6929d8ce&p=1778787305&k=i_key&t=1658902164\" style=\"display:none\" />",
        "pinglun": [
            {
                "star": "5",
                "title": "Such a great upgrade on the old design",
                "author": "Not Applicable",
                "time": "2022年5月27日",
                "choose": "颜色: Icy Morn<i class=\"a-icon a-icon-text-separator\" role=\"img\" aria-label=\"|\"></i>尺寸: 大",
                "content": "The texture of this fabric has been a great upgrade to the original. It feels cool from the moment you put it on and stays that way."
            },
            {
                "star": "4",
                "title": "hard to iron",
                "author": "Leonessy Martinez",
                "time": "2022年5月29日",
                "choose": "颜色: 美味<i class=\"a-icon a-icon-text-separator\" role=\"img\" aria-label=\"|\"></i>尺寸: XX-L",
                "content": "size according to what is expected. Somewhat “waterproof” texture but feels good. hard to iron"
            },
            {
                "star": "4",
                "title": "Light and Airy, but the material doesn't stretch much",
                "author": "Tobi",
                "time": "2022年4月17日",
                "choose": "颜色: 鲨鱼色<i class=\"a-icon a-icon-text-separator\" role=\"img\" aria-label=\"|\"></i>尺寸: 大",
                "content": "This is a great shirt for outdoor activities, it has UV protection and its light and airy to keep you cool and dries quickly if you happen to get caught in a rain shower or run through a waterfall.I normally wear a size large (44R) and this fits me fine but I find it a little tight in the shoulders area especially since this material doesn't really stretch at all. I notice the most when I am reaching forward. While its not so tight as to be restrictive or constrictive, it just doesn't move with you and that makes it less than perfect.One other thing that I'm not a fan of are the plastic snaps this shirt uses instead of buttons. I find them more difficult to use where there is no way to actually separate the fastener themselves so I find myself pulling them apart by holding onto the fabric and yanking on them instead."
            },
            {
                "star": "5",
                "title": "Lightweight and well-made",
                "author": "Jeffrey Van Wagoner",
                "time": "2022年4月19日",
                "choose": "颜色: 鲨鱼色<i class=\"a-icon a-icon-text-separator\" role=\"img\" aria-label=\"|\"></i>尺寸: 大",
                "content": "This hiking shirt is great for those looking beyond a standard tee. It is mostly nylon, and the material feels like a very thin raincoat. Indeed, it is very water repellant and liquid beads up with no absorbency (see picture).Rainproof fabric is not usually very breathable, but this shirt comes with a clever vent in the back to improve air circulation. The thin shirt is very lightweight and a great choice for hot days.The hem has a snap at the bottom with a cinching string to tighten the waist. I have a more slender build, and these features keep it from looking like a skirt on me. Columbia maintains their reputation for quality with this well-designed and well-stitched shirt. It is an easy recommendation."
            }
        ],
        "format_check": "ok",
        "sales": 0,
        "desc_img": []
    },
    "error": "",
    "secache": "b949eaa4c55923e8498f43f29c23d7bb",
    "secache_time": 1658902164,
    "secache_date": "2022-07-27 14:09:24",
    "translate_status": "",
    "translate_time": 0,
    "language": {
        "default_lang": "cn",
        "current_lang": "cn"
    },
    "reason": "",
    "error_code": "0000",
    "cache": 0,
    "api_info": "today:188 max:10100 all[270=188+49+33];expires:2030-12-31",
    "execution_time": "1.461",
    "server_time": "Beijing/2022-07-27 14:09:24",
    "client_ip": "106.6.35.233",
    "call_args": {
        "num_iid": "B096DKM28F"
    },
    "api_type": "amazon",
    "translate_language": "zh-CN",
    "translate_engine": "google_cn",
    "server_memory": "1.73MB",
    "request_id": "gw-4.62e0d6929d8ce",
    "last_id": "1106325736"
}

猜你喜欢

转载自blog.csdn.net/ocean_hhn/article/details/126013603
今日推荐