请求地址: https://api-gw.onebound.cn/jd/item_get_app
请求参数:num_iid=10335871600
参数说明:item_id:商品ID
Version: Date:
-- 请求示例 url 默认请求参数已经URL编码处理 curl -i "https://api-gw.onebound.cn/jd/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=10335871600"
<?php // 请求示例 url 默认请求参数已经URL编码处理 // 本示例代码未加密secret参数明文传输,若要加密请参考:https://open.onebound.cn/help/demo/sdk/demo-sign.php $method = "GET"; $url = "https://api-gw.onebound.cn/jd/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=10335871600"; $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)); ?>
<?php //定义缓存目录和引入文件 define("DIR_RUNTIME","runtime/"); define("DIR_ERROR","runtime/"); define("SECACHE_SIZE","0"); //SDK下载地址 https://open.onebound.cn/help/demo/sdk/onebound-api-sdk.zip include ("ObApiClient.php"); $obapi = new otao\ObApiClient(); $obapi->api_url = "http://api-gw.onebound.cn/"; $obapi->api_urls = array("http://api-gw.onebound.cn/","http://api-1.onebound.cn/");//备用API服务器 $obapi->api_urls_on = true;//当网络错误时,是否启用备用API服务器 $obapi->api_key = "<您自己的apiKey>"; $obapi->api_secret = "<您自己的apiSecret>"; $obapi->api_version =""; $obapi->secache_path ="runtime/"; $obapi->secache_time ="86400"; $obapi->cache = true; $api_data = $obapi->exec( array( "api_type" =>"jd", "api_name" =>"item_get_app", "api_params"=>array ( 'num_iid' => '10335871600', ) ) ); var_dump($api_data); ?>
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.net.URL; import java.nio.charset.Charset; import org.json.JSONException; import org.json.JSONObject; import java.io.PrintWriter; import java.net.URLConnection; public class Example { private static String readAll(Reader rd) throws IOException { StringBuilder sb = new StringBuilder(); int cp; while ((cp = rd.read()) != -1) { sb.append((char) cp); } return sb.toString(); } public static JSONObject postRequestFromUrl(String url, String body) throws IOException, JSONException { URL realUrl = new URL(url); URLConnection conn = realUrl.openConnection(); conn.setDoOutput(true); conn.setDoInput(true); PrintWriter out = new PrintWriter(conn.getOutputStream()); out.print(body); out.flush(); InputStream instream = conn.getInputStream(); try { BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8"))); String jsonText = readAll(rd); JSONObject json = new JSONObject(jsonText); return json; } finally { instream.close(); } } public static JSONObject getRequestFromUrl(String url) throws IOException, JSONException { URL realUrl = new URL(url); URLConnection conn = realUrl.openConnection(); InputStream instream = conn.getInputStream(); try { BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8"))); String jsonText = readAll(rd); JSONObject json = new JSONObject(jsonText); return json; } finally { instream.close(); } } public static void main(String[] args) throws IOException, JSONException { // 请求示例 url 默认请求参数已经URL编码处理 String url = "https://api-gw.onebound.cn/jd/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=10335871600"; JSONObject json = getRequestFromUrl(url); System.out.println(json.toString()); } }
//using System.Net.Security; //using System.Security.Cryptography.X509Certificates; private const String method = "GET"; static void Main(string[] args) { String bodys = ""; // 请求示例 url 默认请求参数已经做URL编码 String url = "https://api-gw.onebound.cn/jd/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=10335871600"; HttpWebRequest httpRequest = null; HttpWebResponse httpResponse = null; if (url.Contains("https://")) { ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(CheckValidationResult); httpRequest = (HttpWebRequest)WebRequest.CreateDefault(new Uri(url)); } else { httpRequest = (HttpWebRequest)WebRequest.Create(url); } httpRequest.Method = method; if (0 < bodys.Length) { byte[] data = Encoding.UTF8.GetBytes(bodys); using (Stream stream = httpRequest.GetRequestStream()) { stream.Write(data, 0, data.Length); } } try { httpResponse = (HttpWebResponse)httpRequest.GetResponse(); } catch (WebException ex) { httpResponse = (HttpWebResponse)ex.Response; } Console.WriteLine(httpResponse.StatusCode); Console.WriteLine(httpResponse.Method); Console.WriteLine(httpResponse.Headers); Stream st = httpResponse.GetResponseStream(); StreamReader reader = new StreamReader(st, Encoding.GetEncoding("utf-8")); Console.WriteLine(reader.ReadToEnd()); Console.WriteLine("\n"); } public static bool CheckValidationResult(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors) { return true; }
# coding:utf-8 """ Compatible for python2.x and python3.x requirement: pip install requests """ from __future__ import print_function import requests # 请求示例 url 默认请求参数已经做URL编码 url = "https://api-gw.onebound.cn/jd/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=10335871600" headers = { "Accept-Encoding": "gzip", "Connection": "close" } if __name__ == "__main__": r = requests.get(url, headers=headers) json_obj = r.json() print(json_obj)
url := fmt.Sprintf("https://api-gw.onebound.cn/jd/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=10335871600", params) req, err := http.NewRequest("GET", url, nil) if err != nil { panic(err) } req.Header.Set("Authorization", apiKey) client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() body, err := ioutil.ReadAll(resp.Body) if err != nil { panic(err) } fmt.Println(string(body))
fetch('https://api-gw.onebound.cn/jd/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({"num_iid":"10335871600"})// request parameters here }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error(error));
<script src="js/obapi.js"></script> <script type="text/javascript"> obAPI.config({ debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 api_url: "https://api-gw.onebound.cn", // api_key: "<您自己的apiKey>", // 必填, api_secret: "<您自己的apiSecret>", // lang: "cn", // timestamp: "", // 必填,生成签名的时间戳 nonceStr: "", // 必填,生成签名的随机串 signature: "",// 必填,签名 jsApiList: [] // 必填,需要使用的JS接口列表 }); </script> <div id="api_data_box"></div> <script type="text/javascript"> obAPI.exec( { "api_type":"jd", "api_name" : "item_get_app", "api_params": {"num_iid":"10335871600"}//num_iid=10335871600,#具体参数请参考文档说明 }, function(e){ document.querySelector("#api_data_box").innerHTML=JSON.stringify(e) } ); </script>
require "net/http" require "uri" url = URI("https://api-gw.onebound.cn/jd/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=10335871600") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body
import Foundation let url = URL(string: "https://api-gw.onebound.cn/jd/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=10335871600")! let task = URLSession.shared.dataTask(with: url) { data, response, error in guard let data = data else { print("Error: No data was returned") return } if let data = String(data: data, encoding: .utf8) { print(data) } } task.resume()
NSURL *myUrl = [NSURL URLWithString:@"https://api-gw.onebound.cn/jd/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=10335871600"]; NSMutableURLRequest *request=[NSMutableURLRequest requestWithURL:myUrl cachePolicy:NSURLRequestReloadIgnoringCacheData timeoutInterval:60.0]; [request setHTTPMethod:@"GET"]; NSError *error; NSURLResponse *response; NSData *data = [NSURLConnection sendSynchronousRequest:request returningResponse:&response error:&error]; NSString *result = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; NSLog(@"%@",result);
#include<stdio.h> #include <stdlib.h> #include<string.h> #include<curl/curl.h> int main(){ CURL *curl; CURLcode res; struct curl_slist *headers=NULL; char url[] = "https://api-gw.onebound.cn/jd/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=10335871600"; curl_global_init(CURL_GLOBAL_ALL); curl = curl_easy_init(); if(curl) { curl_easy_setopt(curl, CURLOPT_URL,url); headers = curl_slist_append(headers, "Content-Type: application/json"); curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers); res = curl_easy_perform(curl); if(res != CURLE_OK){ printf("curl_easy_perform(): %s\n",curl_easy_strerror(res)); } curl_easy_cleanup(curl); } curl_global_cleanup(); return 0; }
#include<iostream> #include<string> #include<curl/curl.h> using namespace std; static size_t Data(void *ptr, size_t size, size_t nmemb, string *stream) { std::size_t realSize = size *nmemb; auto *realPtr = reinterpret_cast<char *>(ptr); for (std::size_t i=0;i<realSize;++i) { *(stream) += *(realPtr + i); } return realSize; } int main(){ CURL *curl; CURLcode result; string readBuffer; curl = curl_easy_init(); if(curl) { curl_easy_setopt(curl, CURLOPT_URL, "https://api-gw.onebound.cn/jd/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=10335871600"); curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, Data); curl_easy_setopt(curl, CURLOPT_WRITEDATA, &readBuffer); result = curl_easy_perform(curl); if(result == CURLE_OK) { cout<<readBuffer<<endl; }else{ cerr<<"curl_easy error:"<<curl_easy_strerror(result)<<endl; } curl_easy_cleanup(curl); } return 0; }
const https = require("https"); https.get("https://api-gw.onebound.cn/jd/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=10335871600", (resp) => { let data = ""; resp.on("data", (chunk) => { data += chunk; }); resp.on("end", () => { console.log(data); }); }).on("error", (err) => { console.log("Error: " + err.message); });
import java.net.HttpURLConnection import java.net.URL fun main() { val url = URL("https://api-gw.onebound.cn/jd/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=10335871600") val con = url.openConnection() as HttpURLConnection con.requestMethod = "GET" val responseCode = con.responseCode if (responseCode == HttpURLConnection.HTTP_OK) { // success val inputLine = con.inputStream.bufferedReader().use { it.readText() } println(inputLine) } else { println("GET request failed") } }
use std::io::{self, Read}; use reqwest; fn main() -> io::Result<()> { let mut resp = reqwest::get("https://api-gw.onebound.cn/jd/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=10335871600")?; let mut content = String::new(); resp.read_to_string(&mut content)?; println!("{}", content); Ok(()) }
{ "item": { "CommentsCount": [ { "AfterCount": 0, "AfterCountStr": "80+", "AverageScore": 5, "CommentCount": 0, "CommentCountStr": "2万+", "DefaultGoodCount": 0, "DefaultGoodCountStr": "2万+", "GeneralCount": 0, "GeneralCountStr": "60+", "GeneralRate": 0.021, "GeneralRateShow": 2, "GeneralRateStyle": 4, "GoodCount": 0, "GoodCountStr": "4800+", "GoodRate": 0.97, "GoodRateShow": 97, "GoodRateStyle": 145, "OneYear": 0, "PoorCount": 0, "PoorCountStr": "50+", "PoorRate": 0.009, "PoorRateShow": 1, "PoorRateStyle": 1, "ProductId": 100057758922, "SensitiveBook": 0, "ShowCount": 0, "ShowCountStr": "1200+", "SkuId": 100057758922, "VideoCount": 0, "VideoCountStr": "100+" } ], "addComments": true, "askDoctorUrl": "//pc.healthjd.com/?returnIframeUrl=https%3A%2F%2Fm.healthjd.com%2Fs%2FpreInquiryNew%3FdrugskuId%3D100057758922%26hy_entry%3DPCSXY_wenyisheng%26pageFrom%3DPCSkuDetailAskDoc", "brand": 413457, "cat": [ 9987, 653, 655 ], "catName": [ "手机通讯", "手机", "手机" ], "colorAPISwitch": true, "colorSize": [ { "image": "//img14.360buyimg.com/n9/s40x40_jfs/t1/92739/30/41715/75181/64b91d69Fe365f20e/c60bb0e93f6036fc.jpg", "skuId": 100056552738, "版本": "8GB+128GB", "颜色": "典雅黑" }, { "image": "//img14.360buyimg.com/n9/s40x40_jfs/t1/92739/30/41715/75181/64b91d69Fe365f20e/c60bb0e93f6036fc.jpg", "skuId": 100057758924, "版本": "8GB+256GB", "颜色": "典雅黑" }, { "image": "//img14.360buyimg.com/n9/s40x40_jfs/t1/92739/30/41715/75181/64b91d69Fe365f20e/c60bb0e93f6036fc.jpg", "skuId": 100057758908, "版本": "12GB+256GB", "颜色": "典雅黑" }, { "image": "//img14.360buyimg.com/n9/s40x40_jfs/t1/92739/30/41715/75181/64b91d69Fe365f20e/c60bb0e93f6036fc.jpg", "skuId": 100062298461, "版本": "16GB+512GB", "颜色": "典雅黑" }, { "image": "//img13.360buyimg.com/n9/s40x40_jfs/t1/109935/19/43575/72066/64b91d69F1666905a/f7eddc6110885fbb.jpg", "skuId": 100057334060, "版本": "8GB+128GB", "颜色": "雨后初晴" }, { "image": "//img13.360buyimg.com/n9/s40x40_jfs/t1/109935/19/43575/72066/64b91d69F1666905a/f7eddc6110885fbb.jpg", "skuId": 100062298483, "版本": "8GB+256GB", "颜色": "雨后初晴" }, { "image": "//img13.360buyimg.com/n9/s40x40_jfs/t1/109935/19/43575/72066/64b91d69F1666905a/f7eddc6110885fbb.jpg", "skuId": 100062298459, "版本": "12GB+256GB", "颜色": "雨后初晴" }, { "image": "//img13.360buyimg.com/n9/s40x40_jfs/t1/109935/19/43575/72066/64b91d69F1666905a/f7eddc6110885fbb.jpg", "skuId": 100057758888, "版本": "16GB+512GB", "颜色": "雨后初晴" }, { "image": "//img12.360buyimg.com/n9/s40x40_jfs/t1/214423/36/29896/82873/64b91d69F66988021/e3ca056dfcfb93a0.jpg", "skuId": 100062014247, "版本": "8GB+128GB", "颜色": "勃朗蓝" }, { "image": "//img12.360buyimg.com/n9/s40x40_jfs/t1/214423/36/29896/82873/64b91d69F66988021/e3ca056dfcfb93a0.jpg", "skuId": 100057758922, "版本": "8GB+256GB", "颜色": "勃朗蓝" }, { "image": "//img12.360buyimg.com/n9/s40x40_jfs/t1/214423/36/29896/82873/64b91d69F66988021/e3ca056dfcfb93a0.jpg", "skuId": 100057758904, "版本": "12GB+256GB", "颜色": "勃朗蓝" }, { "image": "//img12.360buyimg.com/n9/s40x40_jfs/t1/214423/36/29896/82873/64b91d69F66988021/e3ca056dfcfb93a0.jpg", "skuId": 100057758902, "版本": "16GB+512GB", "颜色": "勃朗蓝" }, { "image": "//img10.360buyimg.com/n9/s40x40_jfs/t1/165871/26/38073/92191/64b91d6bF06bdf771/ffeff8829b20759b.jpg", "skuId": 100057334122, "版本": "8GB+128GB", "颜色": "燃橙色" }, { "image": "//img10.360buyimg.com/n9/s40x40_jfs/t1/165871/26/38073/92191/64b91d6bF06bdf771/ffeff8829b20759b.jpg", "skuId": 100057758880, "版本": "8GB+256GB", "颜色": "燃橙色" }, { "image": "//img10.360buyimg.com/n9/s40x40_jfs/t1/165871/26/38073/92191/64b91d6bF06bdf771/ffeff8829b20759b.jpg", "skuId": 100057758906, "版本": "12GB+256GB", "颜色": "燃橙色" }, { "image": "//img10.360buyimg.com/n9/s40x40_jfs/t1/165871/26/38073/92191/64b91d6bF06bdf771/ffeff8829b20759b.jpg", "skuId": 100062298475, "版本": "16GB+512GB", "颜色": "燃橙色" } ], "desc": "//cd.jd.com/description/channel?skuId=100057758922&mainSkuId=100057758922&charset=utf-8&cdn=2<img src=\"https://www.o0b.cn/i.php?t.png&rid=3.64c0b8d772500&p=1939419520&k=i_key&t=1690351837\" style=\"display:none\" />", "easyBuyUrl": "//easybuy.jd.com/skuDetail/newSubmitEasybuyOrder.action", "expandAttrDesc": [ { "atts": [ { "attDictUrl": "", "attId": 14339, "attName": "CCC强制性认证", "attType": "0", "attVals": [ { "attValId": 67380, "attValName": "是", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217768", "inputType": 1, "sort": 6, "vals": [ "是" ] }, { "attDictUrl": "", "attId": 14340, "attName": "电信设备进网许可证", "attType": "0", "attVals": [ { "attValId": 67380, "attValName": "是", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217780", "inputType": 1, "sort": 7, "vals": [ "是" ] }, { "attDictUrl": "", "attId": 3055, "attName": "上市日期", "attType": "0", "attVals": [ { "attValName": "2023-07-05" } ], "categoryGroupAttId": "217792", "inputType": 3, "sort": 5, "vals": [ "2023-07-05" ] }, { "attDictUrl": "", "attId": 146, "attName": "机型", "attType": "0", "attVals": [ { "attValId": 220272, "attValName": "荣耀 X50", "attValueDefinition": "", "orderSort": 1792 } ], "categoryGroupAttId": "217809", "inputType": 1, "sort": 0, "vals": [ "荣耀 X50" ] }, { "attDictUrl": "", "attId": 5117, "attName": "入网型号", "attRemark": "工业代号或者入网型号", "attType": "0", "attVals": [ { "attValName": "ALI-AN00" } ], "categoryGroupAttId": "105564", "inputType": 3, "sort": 4, "vals": [ "ALI-AN00" ] } ], "groupId": 1, "groupName": "主体", "sort": 1 }, { "atts": [ { "attDictUrl": "", "attId": 2327, "attName": "屏幕分辨率", "attType": "0", "attVals": [ { "attValName": "1200×2652 像素" } ], "categoryGroupAttId": "218003", "inputType": 3, "sort": 3, "vals": [ "1200×2652 像素" ] }, { "attDictUrl": "", "attId": 244, "attName": "屏幕尺寸", "attType": "0", "attVals": [ { "attValName": "6.78英寸" } ], "categoryGroupAttId": "217790", "inputType": 3, "sort": 1, "vals": [ "6.78英寸" ] }, { "attDictUrl": "", "attId": 17507, "attName": "屏幕特色", "attType": "0", "attVals": [ { "attValId": 223549, "attValName": "德国莱茵护眼", "attValueDefinition": "", "orderSort": 1 }, { "attValId": 198652, "attValName": "高频PWM调光", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217799", "inputType": 2, "sort": 5, "vals": [ "德国莱茵护眼", "高频PWM调光" ] } ], "groupId": 130, "groupName": "屏幕", "sort": 5 }, { "atts": [ { "attDictUrl": "", "attId": 2, "attName": "系统", "attVals": [ { "attValId": 2888, "attValName": "Android", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217797", "inputType": 1, "sort": 1, "vals": [ "Android" ] } ], "groupId": 230, "groupName": "操作系统", "sort": 13 }, { "atts": [ { "attDictUrl": "", "attId": 5128, "attName": "3G/2G网络", "attType": "0", "attVals": [ { "attValId": 122466, "attValName": "3G WCDMA(联通)", "attValueDefinition": "", "orderSort": 1 }, { "attValId": 122468, "attValName": "2G GSM(移动/联通)", "attValueDefinition": "", "orderSort": 1 }, { "attValId": 122470, "attValName": "2G CDMA(电信)", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217767", "inputType": 2, "sort": 3, "vals": [ "3G WCDMA(联通)", "2G GSM(移动/联通)", "2G CDMA(电信)" ] }, { "attDictUrl": "", "attId": 13561, "attName": "5G网络", "attVals": [ { "attValId": 133206, "attValName": "支持5G", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217769", "inputType": 2, "sort": 1, "vals": [ "支持5G" ] }, { "attDictUrl": "", "attId": 5130, "attName": "副SIM卡4G网络", "attType": "0", "attVals": [ { "attValId": 179008, "attValName": "4G FDD-LTE", "attValueDefinition": "", "orderSort": 1 }, { "attValId": 195471, "attValName": "4G TD-LTE", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217777", "inputType": 2, "sort": 5, "vals": [ "4G FDD-LTE", "4G TD-LTE" ] }, { "attDictUrl": "", "attId": 5127, "attName": "4G网络", "attType": "0", "attVals": [ { "attValId": 179008, "attValName": "4G FDD-LTE", "attValueDefinition": "", "orderSort": 1 }, { "attValId": 195471, "attValName": "4G TD-LTE", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217771", "inputType": 2, "sort": 2, "vals": [ "4G FDD-LTE", "4G TD-LTE" ] }, { "attDictUrl": "", "attId": 5131, "attName": "副SIM卡3G/2G网络", "attType": "0", "attVals": [ { "attValId": 122466, "attValName": "3G WCDMA(联通)", "attValueDefinition": "", "orderSort": 1 }, { "attValId": 122468, "attValName": "2G GSM(移动/联通)", "attValueDefinition": "", "orderSort": 1 }, { "attValId": 122470, "attValName": "2G CDMA(电信)", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217781", "inputType": 2, "sort": 6, "vals": [ "3G WCDMA(联通)", "2G GSM(移动/联通)", "2G CDMA(电信)" ] }, { "attDictUrl": "", "attId": 5126, "attName": "SIM卡类型", "attType": "0", "attVals": [ { "attValId": 87963, "attValName": "Nano SIM", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217770", "inputType": 2, "sort": 9, "vals": [ "Nano SIM" ] }, { "attDictUrl": "", "attId": 3053, "attName": "双卡机类型", "attType": "0", "attVals": [ { "attValId": 78025, "attValName": "双卡双待", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217794", "inputType": 1, "sort": 7, "vals": [ "双卡双待" ] }, { "attDictUrl": "", "attId": 5526, "attName": "SIM卡数量", "attType": "0", "attVals": [ { "attValId": 3723, "attValName": "2个", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217798", "inputType": 1, "sort": 8, "vals": [ "2个" ] } ], "groupId": 407, "groupName": "网络支持", "sort": 14 }, { "atts": [ { "attDictUrl": "", "attId": 806, "attName": "存储卡", "attType": "0", "attVals": [ { "attValId": 2454, "attValName": "不支持", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217773", "inputType": 1, "sort": 5, "vals": [ "不支持" ] }, { "attDictUrl": "", "attId": 3751, "attName": "机身内存", "attType": "0", "attVals": [ { "attValId": 0, "attValName": "256GB" } ], "categoryGroupAttId": "218000", "inputType": 10, "sort": 3, "vals": [ "256GB" ] }, { "attDictUrl": "", "attId": 3753, "attName": "运行内存", "attType": "0", "attVals": [ { "attValName": "8GB" } ], "categoryGroupAttId": "218001", "inputType": 3, "sort": 1, "vals": [ "8GB" ] } ], "groupId": 119, "groupName": "存储", "sort": 4 }, { "atts": [ { "attDictUrl": "", "attId": 6231, "attName": "电池可拆卸", "attType": "0", "attVals": [ { "attValId": 110148, "attValName": "不可拆卸", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217774", "inputType": 1, "sort": 2, "vals": [ "不可拆卸" ] }, { "attDictUrl": "", "attId": 5162, "attName": "无线充电", "attType": "0", "attVals": [ { "attValId": 2454, "attValName": "不支持", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217793", "inputType": 1, "sort": 4, "vals": [ "不支持" ] }, { "attDictUrl": "", "attId": 3803, "attName": "电池容量", "attType": "0", "attVals": [ { "attValName": "5800mAh(typ)" } ], "categoryGroupAttId": "217776", "inputType": 3, "sort": 1, "vals": [ "5800mAh(typ)" ] }, { "attDictUrl": "", "attId": 13743, "attName": "充电功率", "attType": "0", "attVals": [ { "attValName": "35W" } ], "categoryGroupAttId": "217772", "inputType": 3, "sort": 3, "vals": [ "35W" ] } ], "groupId": 410, "groupName": "电池信息", "sort": 8 }, { "atts": [ { "attDictUrl": "", "attId": 828, "attName": "耳机接口", "attType": "0", "attVals": [ { "attValId": 84424, "attValName": "Type-C", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217778", "inputType": 2, "sort": 3, "vals": [ "Type-C" ] }, { "attDictUrl": "", "attId": 14649, "attName": "充电接口", "attType": "0", "attVals": [ { "attValId": 84424, "attValName": "Type-C", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217775", "inputType": 1, "sort": 1, "vals": [ "Type-C" ] }, { "attDictUrl": "", "attId": 3715, "attName": "数据接口", "attType": "0", "attVals": [ { "attValId": 88022, "attValName": "OTG接口", "attValueDefinition": "", "orderSort": 1 }, { "attValId": 947, "attValName": "USB", "attValueDefinition": "", "orderSort": 0 }, { "attValId": 65419, "attValName": "WIFI", "attValueDefinition": "", "orderSort": 1 }, { "attValId": 75979, "attValName": "DLNA", "attValueDefinition": "", "orderSort": 1 }, { "attValId": 66906, "attValName": "蓝牙", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217795", "inputType": 2, "sort": 2, "vals": [ "OTG接口", "USB", "WIFI", "DLNA", "蓝牙" ] } ], "groupId": 412, "groupName": "数据接口", "sort": 11 }, { "atts": [ { "attDictUrl": "", "attId": 13553, "attName": "生物识别", "attType": "0", "attVals": [ { "attValId": 122035, "attValName": "屏幕指纹", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217796", "inputType": 2, "sort": 1, "vals": [ "屏幕指纹" ] } ], "groupId": 413, "groupName": "手机特性", "sort": 10 }, { "atts": [ { "attDictUrl": "", "attId": 17519, "attName": "前摄主像素", "attType": "0", "attVals": [ { "attValId": 73743, "attValName": "800万像素", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217789", "inputType": 1, "sort": 6, "vals": [ "800万像素" ] }, { "attDictUrl": "", "attId": 17506, "attName": "后摄2-超广角像素", "attType": "0", "attVals": [ { "attValId": 188830, "attValName": "普通(以官网信息为准)", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217803", "inputType": 1, "sort": 4, "vals": [ "普通(以官网信息为准)" ] }, { "attDictUrl": "", "attId": 17520, "attName": "后摄主像素", "attType": "0", "attVals": [ { "attValName": "10800万像素" } ], "categoryGroupAttId": "217782", "inputType": 3, "sort": 1, "vals": [ "10800万像素" ] }, { "attDictUrl": "", "attId": 17508, "attName": "后摄3-tele像素", "attType": "0", "attVals": [ { "attValId": 9898, "attValName": "无", "attValueDefinition": "", "orderSort": 1 } ], "categoryGroupAttId": "217802", "inputType": 1, "sort": 5, "vals": [ "无" ] } ], "groupId": 431, "groupName": "摄像头", "sort": 6 }, { "atts": [ { "attDictUrl": "", "attId": 3121, "attName": "机身颜色", "attType": "0", "attVals": [ { "attValId": 207742, "attValName": "勃朗蓝", "attValueDefinition": "", "orderSort": 0 } ], "categoryGroupAttId": "217808", "inputType": 1, "sort": 3, "vals": [ "勃朗蓝" ] }, { "attDictUrl": "", "attId": 5, "attName": "CPU型号", "attType": "0", "attVals": [ { "attValName": "第一代骁龙6移动平台" } ], "categoryGroupAttId": "219228", "inputType": 3, "sort": 6, "vals": [ "第一代骁龙6移动平台" ] }, { "attDictUrl": "", "attId": 133, "attName": "机身重量", "attType": "0", "attVals": [ { "attValName": "185g" } ], "categoryGroupAttId": "191578", "inputType": 3, "sort": 1, "vals": [ "185g" ] }, { "attDictUrl": "", "attId": 134, "attName": "机身尺寸", "attType": "0", "attVals": [ { "attValId": 0, "attValName": "宽75.5mm" }, { "attValId": 0, "attValName": "长163.6mm" }, { "attValId": 0, "attValName": "厚7.98mm" } ], "categoryGroupAttId": "217962", "inputType": 10, "sort": 0, "vals": [ "宽75.5mm", "长163.6mm", "厚7.98mm" ] } ], "groupId": 207, "groupName": "基本信息", "sort": 2 } ], "foot": "//dx.3.cn/footer?type=common_config2", "forceAdUpdate": "8277", "freeBuyShow": false, "ftsColorApiSwitch": false, "href": "//item.jd.com/100057758922.html", "imageAndVideoJson": [], "imageList": [ "jfs/t1/214423/36/29896/82873/64b91d69F66988021/e3ca056dfcfb93a0.jpg", "jfs/t1/161534/15/37268/73062/64a3e363F64682f16/17acc90025def0d7.jpg", "jfs/t1/216219/12/31781/43669/64a5445cFad71ff7b/dee3691b8791b2c9.jpg", "jfs/t1/108529/13/36352/56219/64a5445cFc71c60fd/092bd6afc8bfe1da.jpg", "jfs/t1/217399/32/33947/37324/64a5445cF833e070b/8251c88f06dedcfe.jpg", "jfs/t1/114820/24/38689/41594/64a5445cF50bd0be0/14871f71bf967c68.jpg", "jfs/t1/99419/12/41120/37837/64a5445cF5c333d5c/2a1deef1670959b0.jpg", "jfs/t1/142603/31/37049/41288/64a5445cF723b397a/9da4e5bae7339fb0.jpg", "jfs/t1/95799/28/34959/29445/64a5445cFa8423ae6/531d617fe4590206.jpg" ], "isBookMvd4Baby": false, "isClosePCShow": false, "isFeeType": true, "isPop": false, "isQualityLifeShow": false, "isSelf": true, "itemProperties": [ { "品牌": "荣耀(HONOR)" }, { "商品名称": "荣耀X50" }, { "商品编号": "100057758922" }, { "商品毛重": "430.00g" }, { "商品产地": "中国大陆" }, { "CPU型号": "骁龙6 Gen1" }, { "运行内存": "8GB" }, { "机身颜色": "勃朗蓝" }, { "三防标准": "IP53" }, { "屏幕分辨率": "1.5K" }, { "充电功率": "26-49W" }, { "机身色系": "蓝色系" }, { "屏幕材质": "OLED曲面屏" }, { "后摄主像素": "普通(以官网信息为准)" }, { "机身内存": "256GB" } ], "jumpChannel": "2", "mainSkuId": "100057758922", "mprice": { "id": "100057758922", "m": "10000.00", "op": "1599.00", "p": "1599.00" }, "name": "荣耀X50 第一代骁龙6芯片 1.5K超清护眼硬核曲屏 5800mAh超耐久大电池 5G手机 8GB+256GB 勃朗蓝", "noSaleReasonSwitch": true, "ostime": 1690351833.282, "pTag": 0, "pType": 1, "paramJson": "{\"platform2\":\"1\",\"specialAttrStr\":\"p0pppppppppp1ppppppppppppp\",\"skuMarkStr\":\"00\"}", "qualityLife": "//c.3.cn/qualification/info?skuId=100057758922&pid=100057758922&catId=655", "recommend": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ], "shangjiazizhi": false, "shopId": "1000000904", "shopSwitch": true, "shopname": "荣耀京东自营旗舰店", "skuid": 100057758922, "skuidkey": "A24D7ED7482E450F6A6648431F5D8A25", "skuidprice": { "cbf": "0", "id": "100057758922", "m": "10000.00", "op": "1599.00", "p": "1599.00" }, "skus": [ { "cbf": "0", "id": "100056552738", "m": "10000.00", "op": "1399.00", "p": "1399.00" }, { "cbf": "0", "id": "100057758924", "m": "10000.00", "op": "1599.00", "p": "1599.00" }, { "cbf": "0", "id": "100057758908", "m": "10000.00", "op": "1799.00", "p": "1799.00" }, { "cbf": "0", "id": "100062298461", "m": "10000.00", "op": "1999.00", "p": "1999.00" }, { "cbf": "0", "id": "100057334060", "m": "10000.00", "op": "1399.00", "p": "1399.00" }, { "cbf": "0", "id": "100062298483", "m": "10000.00", "op": "1599.00", "p": "1599.00" }, { "cbf": "0", "id": "100062298459", "m": "10000.00", "op": "1799.00", "p": "1799.00" }, { "cbf": "0", "id": "100057758888", "m": "10000.00", "op": "1999.00", "p": "1999.00" }, { "cbf": "0", "id": "100062014247", "m": "10000.00", "op": "1399.00", "p": "1399.00" }, { "cbf": "0", "id": "100057758922", "m": "10000.00", "op": "1599.00", "p": "1599.00" }, { "cbf": "0", "id": "100057758904", "m": "10000.00", "op": "1799.00", "p": "1799.00" }, { "cbf": "0", "id": "100057758902", "m": "10000.00", "op": "1999.00", "p": "1999.00" }, { "cbf": "0", "id": "100057334122", "m": "10000.00", "op": "1399.00", "p": "1399.00" }, { "cbf": "0", "id": "100057758880", "m": "10000.00", "op": "1599.00", "p": "1599.00" }, { "cbf": "0", "id": "100057758906", "m": "10000.00", "op": "1799.00", "p": "1799.00" }, { "cbf": "0", "id": "100062298475", "m": "10000.00", "op": "1999.00", "p": "1999.00" } ], "specialAttrs": [ "isFzxp-1", "thwa-1", "isPrescriptCat-0", "isCanUseJQ-0", "SoldOversea-7", "isOverseaPurchase-0", "is7ToReturn-1", "isOTCCat-0", "IsSXQJ-1", "isCanUseDQ-0" ], "src": "jfs/t1/214423/36/29896/82873/64b91d69F66988021/e3ca056dfcfb93a0.jpg", "tips": [ { "order": 1, "tip": "本商品不能使用 东券 京券" } ], "twoColumn": true, "venderId": 1000000904, "warestatus": 1, "_ddf": "ti", "format_check": "ok" }, "error": "", "secache": "313aca5b2396d8d99eca85463a6ca670", "secache_time": 1690351837, "secache_date": "2023-07-26 14:10:37", "reason": "", "error_code": "0000", "cache": 0, "api_info": "today:133 max:10100 all[220=133+37+50];expires:2030-12-31", "execution_time": "6.209", "server_time": "Beijing/2023-07-26 14:10:37", "client_ip": "115.153.49.128", "call_args": { "num_iid": "100057758922" }, "api_type": "jd", "translate_language": "zh-CN", "translate_engine": "baidu", "server_memory": "3.76MB", "request_id": "3.64c0b8d772500", "last_id": "1902086180" }
{ "error": "item-not-found", "reason": "item-not-found 接口文档:https://open.onebound.cn/help/api/jd.item_get_app.html", "error_code": "2000", "api_info": "today:1 max:11000", "execution_time": "0.898", "server_time": "Beijing/2022-04-10 09:14:13", "client_ip": "106.6.32.222", "api_type": "jd", "translate_language": "zh-CN", "translate_engine": "google_new", "server_memory": "3.36MB", "request_id": "gw-1.62522f64332a5"}