参数名称 | 类型 | 必填 | 说明 |
---|
参数名称 | 类型 | 说明 |
---|---|---|
id | int | ID |
name | string | 名称 |
initial | string | 首字母 |
parentid | int | 上级ID |
logo | string | LOGO |
depth | int | 深度 1品牌 2子公司 3车型 4具体车型 |
<?php require_once 'curl.func.php'; $appkey = 'your_appkey_here';//你的appkey $url = "https://api.jisuapi.com/car/brand?appkey=$appkey"; $result = curlOpen($url, ['ssl'=>true]); $jsonarr = json_decode($result, true); //exit(var_dump($jsonarr)); if($jsonarr['status'] != 0) { echo $jsonarr['msg']; exit(); } $result = $jsonarr['result']; foreach($result as $val) { echo $val['id'].' '.$val['name'].' '.$val['initial'].' '.$val['parentid'].' '.$val['logo'].' '.$val['depth'].'
'; }
#!/usr/bin/python # encoding:utf-8 import urllib2, json, urllib # 1、获取所有品牌 data = {} data["appkey"] = "your_appkey_here" url_values = urllib.urlencode(data) url = "https://api.jisuapi.com/car/brand" + "?" + url_values request = urllib2.Request(url) result = urllib2.urlopen(request) jsonarr = json.loads(result.read()) if jsonarr["status"] != u"0": print jsonarr["msg"] exit() result = jsonarr["result"] for val in result: print val["id"],val["name"],val["initial"],val["parentid"],val["logo"],val["depth"]
package api.jisuapi.car; import api.util.HttpUtil; import net.sf.json.JSONArray; import net.sf.json.JSONObject; public class Brand { public static final String APPKEY = "your_appkey_here";// 你的appkey public static final String URL = "https://api.jisuapi.com/car/brand"; public static void Get() { String result = null; String url = URL + "?appkey=" + APPKEY; try { result = HttpUtil.sendGet(url, "utf-8"); JSONObject json = JSONObject.fromObject(result); if (json.getInt("status") != 0) { System.out.println(json.getString("msg")); } else { JSONArray resultarr = json.optJSONArray("result"); for (int i = 0; i < resultarr.size(); i++) { JSONObject obj = (JSONObject) resultarr.opt(i); String id = obj.getString("id"); String name = obj.getString("name"); String initial = obj.getString("initial"); String parentid = obj.getString("parentid"); String logo = obj.getString("logo"); String depth = obj.getString("depth"); System.out.println(id + " " + name + " " + initial + " " + parentid + " " + logo + " " + depth); } } } catch (Exception e) { e.printStackTrace(); } } }
{ "status": 0, "msg": "ok", "result": [ { "id": "1", "name": "奥迪", "initial": "A", "parentid": "0", "logo": "http://api.jisuapi.com/car/static/images/logo/300/1.png", "depth": "1" }, { "id": "2", "name": "阿斯顿·马丁", "initial": "A", "parentid": "0", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2.png", "depth": "1" }, { "id": "3", "name": "阿尔法·罗密欧", "initial": "A", "parentid": "0", "logo": "http://api.jisuapi.com/car/static/images/logo/300/3.png", "depth": "1" }, { "id": "4", "name": "AC Schnitzer", "initial": "A", "parentid": "0", "logo": "http://api.jisuapi.com/car/static/images/logo/300/4.png", "depth": "1" }, { "id": "5", "name": "Artega", "initial": "A", "parentid": "0", "logo": "http://api.jisuapi.com/car/static/images/logo/300/5.png", "depth": "1" }, { "id": "6", "name": "奥克斯", "initial": "A", "parentid": "0", "logo": "http://api.jisuapi.com/car/static/images/logo/300/6.png", "depth": "1" }, { "id": "7", "name": "本田", "initial": "B", "parentid": "0", "logo": "http://api.jisuapi.com/car/static/images/logo/300/7.png", "depth": "1" } ] }
参数名称 | 类型 | 必填 | 说明 |
---|---|---|---|
parentid | string | 是 | 上级ID |
参数名称 | 类型 | 说明 |
---|---|---|
id | string | ID |
name | string | 名称 |
fullname | string | 全称 |
initial | string | 首字母 |
logo | string | LOGO |
salestate | string | 销售状态 |
depth | string | 层级 |
<?php require_once 'curl.func.php'; $appkey = 'your_appkey_here';//你的appkey $parentid = 1;//品牌ID $url = "https://api.jisuapi.com/car/type?parentid=$parentid&appkey=$appkey"; $result = curlOpen($url, ['ssl'=>true]); $jsonarr = json_decode($result, true); //exit(var_dump($jsonarr)); if($jsonarr['status'] != 0) { echo $jsonarr['msg']; exit(); } $result = $jsonarr['result']; foreach($result as $val) { echo $val['id'].' '.$val['name'].' '.$val['initial'].'
';//车子公司信息,2级 foreach($val['list'] as $v) { echo $v['id'].' '.$v['name'].' '.$v['fullname'].' '.$v['logo'].' '.$v['salestate'].' '.$v['depth'].'
';//车信息,3级 } }
{ "status": 0, "msg": "ok", "result": [ { "id": "219", "name": "一汽奥迪", "fullname": "", "initial": "A", "list": [ { "id": "220", "name": "A3", "fullname": "奥迪A3", "logo": "http://api.jisuapi.com/car/static/images/logo/300/220.jpg", "salestate": "在销", "depth": "3" }, { "id": "221", "name": "A4L", "fullname": "奥迪A4L", "logo": "http://api.jisuapi.com/car/static/images/logo/300/221.jpg", "salestate": "在销", "depth": "3" }, { "id": "222", "name": "A6L", "fullname": "奥迪A6L", "logo": "http://api.jisuapi.com/car/static/images/logo/300/222.jpg", "salestate": "在销", "depth": "3" }, { "id": "223", "name": "Q3", "fullname": "奥迪Q3", "logo": "http://api.jisuapi.com/car/static/images/logo/300/223.jpg", "salestate": "在销", "depth": "3" }, { "id": "224", "name": "Q5", "fullname": "奥迪Q5", "logo": "http://api.jisuapi.com/car/static/images/logo/300/224.jpg", "salestate": "在销", "depth": "3" }, { "id": "225", "name": "A4", "fullname": "奥迪A4", "logo": "http://api.jisuapi.com/car/static/images/logo/300/225.jpg", "salestate": "停销", "depth": "3" }, { "id": "226", "name": "100", "fullname": "奥迪100", "logo": "http://api.jisuapi.com/car/static/images/logo/300/226.jpg", "salestate": "停销", "depth": "3" }, { "id": "227", "name": "200", "fullname": "奥迪200", "logo": "http://api.jisuapi.com/car/static/images/logo/300/227.jpg", "salestate": "停销", "depth": "3" } ] }, { "id": "228", "name": "进口奥迪", "fullname": "", "initial": "A", "list": [ { "id": "229", "name": "A1", "fullname": "奥迪A1(进口)", "logo": "http://api.jisuapi.com/car/static/images/logo/300/229.jpg", "salestate": "在销", "depth": "3" }, { "id": "230", "name": "A3", "fullname": "奥迪A3(进口)", "logo": "http://api.jisuapi.com/car/static/images/logo/300/230.jpg", "salestate": "在销", "depth": "3" }, { "id": "231", "name": "A3 e-tron", "fullname": "A3 e-tron", "logo": "http://api.jisuapi.com/car/static/images/logo/300/231.jpg", "salestate": "在销", "depth": "3" }, { "id": "232", "name": "A4", "fullname": "奥迪A4(进口)", "logo": "http://api.jisuapi.com/car/static/images/logo/300/232.jpg", "salestate": "待销", "depth": "3" }, { "id": "233", "name": "A4 allroad", "fullname": "奥迪A4 allroad", "logo": "http://api.jisuapi.com/car/static/images/logo/300/233.jpg", "salestate": "在销", "depth": "3" }, { "id": "234", "name": "A5", "fullname": "奥迪A5(进口)", "logo": "http://api.jisuapi.com/car/static/images/logo/300/234.jpg", "salestate": "在销", "depth": "3" } ] } ] }
参数名称 | 类型 | 必填 | 说明 |
---|---|---|---|
parentid | string | 是 | 上级ID |
sort | string | 是 | 排序 默认不排序 year按年份 yearr按年份逆序 productionstate按生产状态 productionstater按生产状态逆序 |
参数名称 | 类型 | 说明 |
---|---|---|
id | string | ID |
name | string | 名称 |
initial | string | 首字母 |
fullname | string | 全称 |
depth | string | 层级 |
logo | string | LOGO |
price | string | 价格 |
yeartype | string | 年款 |
productionstate | string | 生产状态 |
salestate | string | 销售状态 |
sizetype | string | 尺寸类型 |
<?php require_once 'curl.func.php'; $appkey = 'your_appkey_here';//你的appkey $parentid = 220;//品牌ID $url = "https://api.jisuapi.com/car/car?parentid=$parentid&appkey=$appkey"; $result = curlOpen($url, ['ssl'=>true]); $jsonarr = json_decode($result, true); //exit(var_dump($jsonarr)); if($jsonarr['status'] != 0) { echo $jsonarr['msg']; exit(); } $result = $jsonarr['result']; echo $result['id'].' '.$result['name'].' '.$result['initial'].' '.$result['fullname'].' '.$result['depth'].' '.$result['logo'].' '.$result['salestate'].'
';//车信息,3级 foreach($result['list'] as $vv) { echo $vv['id'].' '.$vv['name'].' '.$vv['logo'].' '.$vv['price'].' '.$vv['yeartype'].' '.$vv['productionstate'].' '.$vv['salestate'].' '.$vv['sizetype'].'
';//车信息,4级 }
{ "status": 0, "msg": "ok", "result": { "id": "220", "name": "A3", "initial": "A", "fullname": "奥迪A3", "logo": "http://api.jisuapi.com/car/static/images/logo/300/220.jpg", "salestate": "在销", "depth": "3", "list": [ { "id": "2571", "name": "2016款 Sportback 35TFSI 进取型", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2571.jpg", "price": "18.49万", "yeartype": "2016", "productionstate": "在产", "salestate": "在销", "sizetype": "紧凑型车" }, { "id": "2572", "name": "2016款 Limousine 35TFSI 进取型", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2572.jpg", "price": "19.09万", "yeartype": "2016", "productionstate": "在产", "salestate": "在销", "sizetype": "紧凑型车" }, { "id": "2573", "name": "2016款 Sportback 35TFSI 领英型", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2573.jpg", "price": "20.92万", "yeartype": "2016", "productionstate": "在产", "salestate": "在销", "sizetype": "紧凑型车" }, { "id": "2574", "name": "2016款 Limousine 35TFSI 领英型", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2574.jpg", "price": "21.52万", "yeartype": "2016", "productionstate": "在产", "salestate": "在销", "sizetype": "紧凑型车" }, { "id": "2575", "name": "2016款 Sportback 35TFSI 风尚型", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2575.jpg", "price": "22.59万", "yeartype": "2016", "productionstate": "在产", "salestate": "在销", "sizetype": "紧凑型车" }, { "id": "2576", "name": "2016款 Limousine 35TFSI 风尚型", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2576.jpg", "price": "23.19万", "yeartype": "2016", "productionstate": "在产", "salestate": "在销", "sizetype": "紧凑型车" }, { "id": "2577", "name": "2015款 Sportback 35TFSI 手动 进取型", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2577.jpg", "price": "18.49万", "yeartype": "2015", "productionstate": "停产", "salestate": "在销", "sizetype": "紧凑型车" }, { "id": "2578", "name": "2015款 Limousine 35TFSI 手动 进取型", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2578.jpg", "price": "19.09万", "yeartype": "2015", "productionstate": "停产", "salestate": "在销", "sizetype": "紧凑型车" }, { "id": "2579", "name": "2015款 Sportback 35 TFSI 纪念智领版", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2579.jpg", "price": "22.79万", "yeartype": "2015", "productionstate": "停产", "salestate": "在销", "sizetype": "紧凑型车" }, { "id": "2580", "name": "2015款 Limousine 35 TFSI 纪念智领版", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2580.jpg", "price": "23.39万", "yeartype": "2015", "productionstate": "停产", "salestate": "在销", "sizetype": "紧凑型车" }, { "id": "2581", "name": "2015款 Sportback 35 TFSI 纪念舒享版", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2581.jpg", "price": "23.98万", "yeartype": "2015", "productionstate": "停产", "salestate": "在销", "sizetype": "紧凑型车" }, { "id": "2582", "name": "2015款 Limousine 35 TFSI 纪念舒享版", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2582.jpg", "price": "24.58万", "yeartype": "2015", "productionstate": "停产", "salestate": "在销", "sizetype": "紧凑型车" }, { "id": "2583", "name": "2015款 Sportback 35 TFSI 纪念乐享版", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2583.jpg", "price": "27.57万", "yeartype": "2015", "productionstate": "停产", "salestate": "在销", "sizetype": "紧凑型车" }, { "id": "2584", "name": "2015款 Limousine 35 TFSI 纪念乐享版", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2584.jpg", "price": "28.17万", "yeartype": "2015", "productionstate": "停产", "salestate": "在销", "sizetype": "紧凑型车" }, { "id": "2585", "name": "2014款 Sportback 35TFSI 进取型", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2585.jpg", "price": "19.99万", "yeartype": "2014", "productionstate": "停产", "salestate": "停产", "sizetype": "紧凑型车" }, { "id": "2586", "name": "2014款 Limousine 35TFSI 进取型", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2586.jpg", "price": "20.59万", "yeartype": "2014", "productionstate": "停产", "salestate": "停产", "sizetype": "紧凑型车" }, { "id": "2587", "name": "2014款 Sportback 35TFSI 时尚型", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2587.jpg", "price": "21.89万", "yeartype": "2014", "productionstate": "停产", "salestate": "停产", "sizetype": "紧凑型车" }, { "id": "2588", "name": "2014款 Limousine 35TFSI 时尚型", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2588.jpg", "price": "22.49万", "yeartype": "2014", "productionstate": "停产", "salestate": "停产", "sizetype": "紧凑型车" }, { "id": "2589", "name": "2014款 Sportback 35TFSI 舒适型", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2589.jpg", "price": "24.88万", "yeartype": "2014", "productionstate": "停产", "salestate": "停产", "sizetype": "紧凑型车" }, { "id": "2590", "name": "2014款 Limousine 35TFSI 舒适型", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2590.jpg", "price": "25.48万", "yeartype": "2014", "productionstate": "停产", "salestate": "停产", "sizetype": "紧凑型车" } ] } }
参数名称 | 类型 | 必填 | 说明 |
---|---|---|---|
carid | int | 是 | 车ID 对应其他API中的ID |
参数名称 | 类型 | 说明 |
---|---|---|
id | int | ID |
name | string | 名称 |
initial | string | 首字母 |
parentid | int | 上级ID |
logo | string | LOGO |
price | string | 厂商指导价 |
yeartype | string | 年款 |
productionstate | string | 生产状态 |
salestate | string | 销售状态 |
sizetype | string | 尺寸类型 |
depth | int | 深度 1品牌 2子公司 3车型 4具体车型 |
basic | string | 基本信息 |
price | string | 厂商指导价 |
saleprice | string | 商家报价 |
warrantypolicy | string | 保修政策 |
vechiletax | string | 车船税减免 |
displacement | string | 排量(L) |
gearbox | string | 变速箱 |
comfuelconsumption | string | 综合工况油耗(L/100km) |
userfuelconsumption | string | 网友油耗(L/100km) |
officialaccelerationtime100 | string | 官方0-100公里加速时间(s) |
testaccelerationtime100 | string | 实测0-100公里加速时间(s) |
maxspeed | string | 最高车速(km/h) |
seatnum | string | 乘员人数(区间)(个) |
body | string | 车体 |
color | string | 车身颜色 |
len | string | 车长(mm) |
width | string | 车宽(mm) |
height | string | 车高(mm) |
wheelbase | string | 轴距(mm) |
fronttrack | string | 前轮距(mm) |
reartrack | string | 后轮距(mm) |
weight | string | 整备质量(kg) |
fullweight | string | 满载质量(kg) |
mingroundclearance | string | 最小离地间隙(mm) |
approachangle | string | 接近角(°) |
departureangle | string | 离去角(°) |
luggagevolume | string | 行李厢容积(L) |
luggagemode | string | 行李厢盖开合方式 |
luggageopenmode | string | 行李厢打开方式 |
inductionluggage | string | 感应行李厢 |
doornum | string | 车门数(个) |
tooftype | string | 车顶型式 |
hoodtype | string | 车篷型式 |
roofluggagerack | string | 车顶行李箱架 |
sportpackage | string | 运动外观套件 |
engine | string | 发动机 |
position | string | 发动机位置 |
model | string | 发动机型号 |
displacement | string | 排量(L) |
displacementml | string | 排量(mL) |
intakeform | string | 进气形式 |
cylinderarrangetype | string | 气缸排列型式 |
cylindernum | string | 气缸数(个) |
valvetrain | string | 每缸气门数(个) |
valvestructure | string | 气门结构 |
compressionratio | string | 压缩比 |
bore | string | 缸径(mm) |
stroke | string | 行程(mm) |
maxhorsepower | string | 最大马力(Ps) |
maxpower | string | 最大功率(kW) |
maxpowerspeed | string | 最大功率转速(rpm) |
maxtorque | string | 最大扭矩(Nm) |
maxtorquespeed | string | 最大扭矩转速(rpm) |
fueltype | string | 燃料类型 |
fuelgrade | string | 燃油标号 |
fuelmethod | string | 供油方式 |
fueltankcapacity | string | 燃油箱容积(L) |
cylinderheadmaterial | string | 缸盖材料 |
cylinderbodymaterial | string | 缸体材料 |
environmentalstandards | string | 环保标准 |
startstopsystem | string | 启停系统 |
gearbox | string | 变速箱 |
gearbox | string | 变速箱 |
shiftpaddles | string | 换挡拨片 |
chassisbrake | string | 底盘制动 |
bodystructure | string | 车体结构 |
powersteering | string | 转向助力 |
frontbraketype | string | 前制动类型 |
rearbraketype | string | 后制动类型 |
parkingbraketype | string | 驻车制动类型 |
drivemode | string | 驱动方式 |
airsuspension | string | 空气悬挂 |
adjustablesuspension | string | 可调悬挂 |
frontsuspensiontype | string | 前悬挂类型 |
rearsuspensiontype | string | 后悬挂类型 |
centerdifferentiallock | string | 中央差速器锁 |
safe | string | 安全配置 |
airbagdrivingposition | string | 驾驶位安全气囊 |
airbagfrontpassenger | string | 副驾驶位安全气囊 |
airbagfrontside | string | 前排侧安全气囊 |
airbagfronthead | string | 前排头部气囊(气帘) |
airbagknee | string | 膝部气囊 |
airbagrearside | string | 后排侧安全气囊 |
airbagrearhead | string | 后排头部气囊(气帘) |
safetybeltprompt | string | 安全带未系提示 |
safetybeltlimiting | string | 安全带限力功能 |
safetybeltpretightening | string | 安全带预收紧功能 |
frontsafetybeltadjustment | string | 前安全带调节 |
rearsafetybelt | string | 后排安全带 |
tirepressuremonitoring | string | 胎压监测装置 |
zeropressurecontinued | string | 零压续行(零胎压继续行驶) |
centrallocking | string | 中控门锁 |
childlock | string | 儿童锁 |
remotekey | string | 遥控钥匙 |
keylessentry | string | 无钥匙进入系统 |
keylessstart | string | 无钥匙启动系统 |
engineantitheft | string | 发动机电子防盗 |
wheel | string | 车轮 |
fronttiresize | string | 前轮胎规格 |
reartiresize | string | 后轮胎规格 |
sparetiretype | string | 备胎类型 |
hubmaterial | string | 轮毂材料 |
drivingauxiliary | string | 行车辅助 |
abs | string | 刹车防抱死(ABS) |
ebd | string | 电子制动力分配系统(EBD) |
brakeassist | string | 刹车辅助(EBA/BAS/BA/EVA等) |
tractioncontrol | string | 牵引力控制(ASR/TCS/TRC/ATC等) |
esp | string | 动态稳定控制系统(ESP) |
eps | string | 随速助力转向调节(EPS) |
automaticparking | string | 自动驻车 |
hillstartassist | string | 上坡辅助 |
hilldescent | string | 陡坡缓降 |
frontparkingradar | string | 泊车雷达(车前) |
reversingradar | string | 倒车雷达(车后) |
reverseimage | string | 倒车影像 |
panoramiccamera | string | 全景摄像头 |
cruisecontrol | string | 定速巡航 |
adaptivecruise | string | 自适应巡航 |
gps | string | GPS导航系统 |
automaticparkingintoplace | string | 自动泊车入位 |
ldws | string | 车道偏离预警系统 |
activebraking | string | 主动刹车/主动安全系统 |
integralactivesteering | string | 整体主动转向系统 |
nightvisionsystem | string | 夜视系统 |
blindspotdetection | string | 盲点检测 |
doormirror | string | 门窗/后视镜 |
openstyle | string | 开门方式 |
electricwindow | string | 电动车窗 |
uvinterceptingglass | string | 防紫外线/隔热玻璃 |
privacyglass | string | 隐私玻璃 |
antipinchwindow | string | 电动窗防夹功能 |
skylightopeningmode | string | 天窗开合方式 |
skylightstype | string | 天窗型式 |
rearwindowsunshade | string | 后窗遮阳帘 |
rearsidesunshade | string | 后排侧遮阳帘 |
rearwiper | string | 后雨刷器 |
sensingwiper | string | 感应雨刷 |
electricpulldoor | string | 电动吸合门 |
rearmirrorwithturnlamp | string | 后视镜带侧转向灯 |
externalmirrormemory | string | 外后视镜记忆功能 |
externalmirrorheating | string | 外后视镜加热功能 |
externalmirrorfolding | string | 外后视镜电动折叠功能 |
externalmirroradjustment | string | 外后视镜电动调节 |
rearviewmirrorantiglare | string | 内后视镜防眩目功能 |
sunvisormirror | string | 遮阳板化妆镜 |
light | string | 灯光 |
headlighttype | string | 前大灯类型 |
optionalheadlighttype | string | 选配前大灯类型 |
headlightautomaticopen | string | 前大灯自动开闭 |
headlightautomaticclean | string | 前大灯自动清洗功能 |
headlightdelayoff | string | 前大灯延时关闭 |
headlightdynamicsteering | string | 前大灯随动转向 |
headlightilluminationadjustment | string | 前大灯照射范围调整 |
headlightdimming | string | 会车前灯防眩目功能 |
frontfoglight | string | 前雾灯 |
readinglight | string | 阅读灯 |
interiorairlight | string | 车内氛围灯 |
daytimerunninglight | string | 日间行车灯 |
ledtaillight | string | LED尾灯 |
lightsteeringassist | string | 转向辅助灯 |
internalconfig | string | 内部配置 |
steeringwheelbeforeadjustment | string | 方向盘前后调节 |
steeringwheelupadjustment | string | 方向盘上下调节 |
steeringwheeladjustmentmode | string | 方向盘调节方式 |
steeringwheelmemory | string | 方向盘记忆设置 |
steeringwheelmaterial | string | 方向盘表面材料 |
steeringwheelmultifunction | string | 多功能方向盘 |
steeringwheelheating | string | 方向盘加热 |
computerscreen | string | 行车电脑显示屏 |
huddisplay | string | HUD抬头数字显示 |
interiorcolor | string | 内饰颜色 |
rearcupholder | string | 后排杯架 |
supplyvoltage | string | 车内电源电压 |
seat | string | 座椅 |
sportseat | string | 运动座椅 |
seatmaterial | string | 座椅材料 |
seatheightadjustment | string | 座椅高低调节 |
driverseatadjustmentmode | string | 驾驶座座椅调节方式 |
auxiliaryseatadjustmentmode | string | 副驾驶座椅调节方式 |
driverseatlumbarsupportadjustment | string | 驾驶座腰部支撑调节 |
driverseatshouldersupportadjustment | string | 驾驶座肩部支撑调节 |
frontseatheadrestadjustment | string | 前座椅头枕调节 |
rearseatadjustmentmode | string | 后排座椅调节方式 |
rearseatreclineproportion | string | 后排座位放倒比例 |
rearseatangleadjustment | string | 后排座椅角度调节 |
frontseatcenterarmrest | string | 前座中央扶手 |
rearseatcenterarmrest | string | 后座中央扶手 |
seatventilation | string | 座椅通风 |
seatheating | string | 座椅加热 |
seatmassage | string | 座椅按摩功能 |
electricseatmemory | string | 电动座椅记忆 |
childseatfixdevice | string | 儿童安全座椅固定装置 |
thirdrowseat | string | 第三排座椅 |
entcom | string | 娱乐通讯 |
locationservice | string | 定位互动服务 |
bluetooth | string | 蓝牙系统 |
externalaudiointerface | string | 外接音源接口 |
builtinharddisk | string | 内置硬盘 |
cartv | string | 车载电视 |
speakernum | string | 扬声器数量 |
audiobrand | string | 音响品牌 |
dvd | string | DVD |
cd | string | CD |
consolelcdscreen | string | 中控台液晶屏 |
rearlcdscreen | string | 后排液晶屏 |
aircondrefrigerator | string | 空调/冰箱 |
airconditioningcontrolmode | string | 空调控制方式 |
tempzonecontrol | string | 温度分区控制 |
rearairconditioning | string | 后排独立空调 |
reardischargeoutlet | string | 后排出风口 |
airconditioning | string | 空气调节/花粉过滤 |
airpurifyingdevice | string | 车内空气净化装置 |
carrefrigerator | string | 车载冰箱 |
actualtest | string | 实际测试 |
accelerationtime100 | string | 加速时间(0—100km/h)(s) |
brakingdistance | string | 制动距离(100—0km/h)(m) |
listdate | string | 上市年月 |
gearnum | string | 档位数 |
geartype | string | 变速箱类型 |
frontairconditioning | string | 前排空调 |
fragrance | string | 香氛系统 |
mixfuelconsumption | string | 混合工况油耗[L/100km] |
totalweight | string | 总质量(kg) |
ratedloadweight | string | 额定载质量(kg) |
loadweightfactor | string | 载质量利用系数 |
rampangle | string | 通过角[°] |
maxwadingdepth | string | 最大涉水深度[mm] |
minturndiameter | string | 最小转弯直径[m] |
electricluggage | string | 电动行李厢 |
bodytype | string | 车身型式 |
chassisid | string | 底盘ID |
chassis | string | 底盘型号 |
chassiscompany | string | 底盘生产企业 |
chassistype | string | 底盘类别 |
axlenum | string | 轴数 |
axleload | string | 轴荷 |
leafspringnum | string | 钢板弹簧片数(前/后) |
frontsuspension | string | 前悬(mm) |
rearsuspension | string | 后悬 |
autoheadlight | string | 自动大灯 |
headlightfeature | string | 大灯功能 |
rearviewmirrormedia | string | 流媒体内后视镜 |
externalmirrormedia | string | 流媒体外后视镜 |
externalmirrorantiglare | string | 外后视镜自动防眩目 |
frontwiper | string | 前雨刷器 |
electricsuctiondoor | string | 电吸门 |
electricslidingdoor | string | 电动侧滑门 |
roofrack | string | 车顶行李架 |
rearwing | string | 尾翼/扰流板 |
frontelectricwindow | string | 前电动车窗 |
rearelectricwindow | string | 后电动车窗 |
lanekeep | string | 车道保持 |
parallelaid | string | 并线辅助 |
fatiguereminder | string | 疲劳提醒 |
remoteparking | string | 遥控泊车 |
autodriveassist | string | 自动驾驶辅助 |
variablesteering | string | 可变齿比转向 |
drivemodechoose | string | 驾驶模式选择 |
motorpower | string | 电动机总功率[kW] |
motortorque | string | 电动机总扭矩[N.m] |
integratedpower | string | 系统综合功率[kW] |
integratedtorque | string | 系统综合扭矩[N.m] |
frontmaxpower | string | 前电动机最大功率[kW] |
frontmaxtorque | string | 前电动机最大扭矩[N.m] |
rearmaxpower | string | 后电动机最大功率[kW] |
rearmaxtorque | string | 后电动机最大扭矩[N.m] |
batterycapacity | string | 电池容量[kwh] |
powerconsumption | string | 耗电量[kwh/100km] |
maxmileage | string | 最大续航里程[km] |
batterywarranty | string | 电池组质保 |
batteryfastchargetime | string | 电池快充充电时间 |
batteryslowchargetime | string | 电池慢充充电时间 |
nedcmaxmileage | string | NEDC最大续航里程[km] |
lcdscreensize | string | 液晶屏尺寸 |
fulllcddashboard | string | 全液晶仪表盘 |
roadrescue | string | 紧急道路救援 |
4g | string | 4G网络 |
carapp | string | 车载APP应用 |
voicecontrol | string | 语音控制 |
phoneconnect | string | 手机互联(Carplay&Android) |
wirelesscharge | string | 手机无线充电 |
gesturecontrol | string | 手势控制系统 |
drivingrecorder | string | 车载行车记录仪 |
interiormaterial | string | 内饰材质 |
steeringwheelshift | string | 方向盘换挡 |
activenoisereduction | string | 主动降噪 |
leddaytimerunninglight | string | LED日间行车灯 |
sideaircurtain | string | 侧安全气帘 |
seatbeltairbag | string | 安全带气囊 |
rearcentralairbag | string | 后排中央气囊 |
remotecontrol | string | 远程遥控功能 |
smartkey | string | 智能钥匙 |
driverseatelectricadjustment | string | 主座椅电动调节 |
auxiliaryseatelectricadjustment | string | 副座椅电动调节 |
secondrowseatelectricadjustment | string | 第二排座椅电动调节 |
frontseatfunction | string | 前排座椅功能 |
rearseatfunction | string | 后排座椅功能 |
secondrowseatadjustment | string | 第二排座椅调节方式 |
tirenum | string | 轮胎个数 |
parentname | string | 上级名称 |
brandname | string | 品牌 |
displacement2 | string | 排量 数字 |
gearnum | string | 档位数 数字 |
geartype2 | string | 变速箱类型 1自动 2手动 |
environmentalstandards2 | string | 排放标准 数字 |
compartnum | string | 车厢数 数字 |
drivemode2 | string | 驱动轮数 |
gearboxmodel | string | 变速箱型号 |
batterybrand | string | 电芯品牌 |
batterytype | string | 电池类型 |
motormaxhorsepower | string | 电动机总马力[Ps] |
motortype | string | 电机类型 |
motorlayout | string | 电机布局 |
motornum | string | 驱动电机数 |
groupname | string | 组名 |
groupid | string | 组ID |
<?php require_once 'curl.func.php'; $appkey = 'your_appkey_here';//你的appkey $carid = 2571;//车ID $url = "https://api.jisuapi.com/car/detail?carid=$carid&appkey=$appkey"; $result = curlOpen($url, ['ssl'=>true]); $jsonarr = json_decode($result, true); //exit(var_dump($jsonarr)); if($jsonarr['status'] != 0) { echo $jsonarr['msg']; exit(); } $result = $jsonarr['result']; echo $result['id'].' '.$result['name'].' '.$result['initial'].' '.$result['parentid'].' '.$result['logo'].' '.$result['price'].' '.$result['yeartype'].' '.$result['productionstate'].' '.$result['salestate'].' '.$result['sizetype'].' '.$result['depth'].'
'; echo '基本信息:
'; $basic = $result['basic']; echo $basic['price'].' '.$basic['saleprice'].' '.$basic['warrantypolicy'].' '.$basic['vechiletax'].' '.$basic['displacement'].' '.$basic['gearbox'].' '.$basic['comfuelconsumption'].' '.$basic['userfuelconsumption'].' '.$basic['officialaccelerationtime100'].' '.$basic['testaccelerationtime100'].' '.$basic['maxspeed'].' '.$basic['seatnum'].'
'; echo '车体:
'; $body = $result['body']; echo $body['color'].' '.$body['len'].' '.$body['width'].' '.$body['height'].' '.$body['wheelbase'].' '.$body['fronttrack'].' '.$body['reartrack'].' '.$body['weight'].' '.$body['fullweight'].' '.$body['mingroundclearance'].' '.$body['approachangle'].' '.$body['departureangle'].' '.$body['luggagevolume'].' '.$body['luggagemode'].' '.$body['luggageopenmode'].' '.$body['inductionluggage'].' '.$body['doornum'].' '.$body['tooftype'].' '.$body['hoodtype'].' '.$body['roofluggagerack'].' '.$body['sportpackage'].'
'; echo '发动机:
'; $engine = $result['engine']; echo $engine['position'].' '.$engine['model'].' '.$engine['displacement'].' '.$engine['displacementml'].' '.$engine['intakeform'].' '.$engine['cylinderarrangetype'].' '.$engine['cylindernum'].' '.$engine['valvetrain'].' '.$engine['valvestructure'].' '.$engine['compressionratio'].' '.$engine['bore'].' '.$engine['stroke'].' '.$engine['maxhorsepower'].' '.$engine['maxpower'].' '.$engine['maxpowerspeed'].' '.$engine['maxtorque'].' '.$engine['maxtorquespeed'].' '.$engine['fueltype'].' '.$engine['fuelgrade'].' '.$engine['fuelmethod'].' '.$engine['fueltankcapacity'].' '.$engine['cylinderheadmaterial'].' '.$engine['cylinderbodymaterial'].' '.$engine['environmentalstandards'].' '.$engine['startstopsystem'].'
'; echo '变速箱:
'; $gearbox = $result['gearbox']; echo $gearbox['gearbox'].' '.$gearbox['shiftpaddles'].'
'; echo '底盘制动:
'; $chassisbrake = $result['chassisbrake']; echo $chassisbrake['bodystructure'].' '.$chassisbrake['powersteering'].' '.$chassisbrake['frontbraketype'].' '.$chassisbrake['rearbraketype'].' '.$chassisbrake['parkingbraketype'].' '.$chassisbrake['drivemode'].' '.$chassisbrake['airsuspension'].' '.$chassisbrake['adjustablesuspension'].' '.$chassisbrake['frontsuspensiontype'].' '.$chassisbrake['rearsuspensiontype'].' '.$chassisbrake['centerdifferentiallock'].'
'; echo '安全配置:
'; $safe = $result['safe']; echo $safe['airbagdrivingposition'].' '.$safe['airbagfrontpassenger'].' '.$safe['airbagfrontside'].' '.$safe['airbagfronthead'].' '.$safe['airbagknee'].' '.$safe['airbagrearside'].' '.$safe['airbagrearhead'].' '.$safe['safetybeltprompt'].' '.$safe['safetybeltlimiting'].' '.$safe['safetybeltpretightening'].' '.$safe['frontsafetybeltadjustment'].' '.$safe['rearsafetybelt'].' '.$safe['tirepressuremonitoring'].' '.$safe['zeropressurecontinued'].' '.$safe['centrallocking'].' '.$safe['childlock'].' '.$safe['remotekey'].' '.$safe['keylessentry'].' '.$safe['keylessstart'].' '.$safe['engineantitheft'].'
'; echo '车轮:
'; $wheel = $result['wheel']; echo $wheel['wheel'].' '.$wheel['fronttiresize'].' '.$wheel['reartiresize'].' '.$wheel['sparetiretype'].' '.$wheel['hubmaterial'].'
'; echo '行车辅助:
'; $drivingauxiliary = $result['drivingauxiliary']; echo $drivingauxiliary['abs'].' '.$drivingauxiliary['ebd'].' '.$drivingauxiliary['brakeassist'].' '.$drivingauxiliary['tractioncontrol'].' '.$drivingauxiliary['esp'].' '.$drivingauxiliary['eps'].' '.$drivingauxiliary['automaticparking'].' '.$drivingauxiliary['hillstartassist'].' '.$drivingauxiliary['hilldescent'].' '.$drivingauxiliary['frontparkingradar'].' '.$drivingauxiliary['reversingradar'].' '.$drivingauxiliary['reverseimage'].' '.$drivingauxiliary['panoramiccamera'].' '.$drivingauxiliary['cruisecontrol'].' '.$drivingauxiliary['adaptivecruise'].' '.$drivingauxiliary['gps'].' '.$drivingauxiliary['automaticparkingintoplace'].' '.$drivingauxiliary['ldws'].' '.$drivingauxiliary['activebraking'].' '.$drivingauxiliary['integralactivesteering'].' '.$drivingauxiliary['nightvisionsystem'].' '.$drivingauxiliary['blindspotdetection'].'
'; echo '门窗后视镜:
'; $doormirror = $result['doormirror']; echo $doormirror['openstyle'].' '.$doormirror['electricwindow'].' '.$doormirror['uvinterceptingglass'].' '.$doormirror['privacyglass'].' '.$doormirror['antipinchwindow'].' '.$doormirror['skylightopeningmode'].' '.$doormirror['skylightstype'].' '.$doormirror['rearwindowsunshade'].' '.$doormirror['rearsidesunshade'].' '.$doormirror['rearwiper'].' '.$doormirror['sensingwiper'].' '.$doormirror['electricpulldoor'].' '.$doormirror['rearmirrorwithturnlamp'].' '.$doormirror['externalmirrormemory'].' '.$doormirror['externalmirrorheating'].' '.$doormirror['externalmirrorfolding'].' '.$doormirror['externalmirroradjustment'].' '.$doormirror['rearviewmirrorantiglare'].' '.$doormirror['sunvisormirror'].'
'; echo '灯光:
'; $light = $result['light']; echo $light['light'].' '.$light['headlighttype'].' '.$light['optionalheadlighttype'].' '.$light['headlightautomaticopen'].' '.$light['headlightautomaticclean'].' '.$light['headlightdelayoff'].' '.$light['headlightdynamicsteering'].' '.$light['headlightilluminationadjustment'].' '.$light['headlightdimming'].' '.$light['frontfoglight'].' '.$light['readinglight'].' '.$light['interiorairlight'].' '.$light['daytimerunninglight'].' '.$light['ledtaillight'].' '.$light['lightsteeringassist'].'
'; echo '内部配置:
'; $internalconfig = $result['internalconfig']; echo $internalconfig['steeringwheelbeforeadjustment'].' '.$internalconfig['steeringwheelupadjustment'].' '.$internalconfig['steeringwheeladjustmentmode'].' '.$internalconfig['steeringwheelmemory'].' '.$internalconfig['steeringwheelmaterial'].' '.$internalconfig['steeringwheelmultifunction'].' '.$internalconfig['steeringwheelheating'].' '.$internalconfig['computerscreen'].' '.$internalconfig['huddisplay'].' '.$internalconfig['interiorcolor'].' '.$internalconfig['rearcupholder'].' '.$internalconfig['supplyvoltage'].'
'; echo '座椅:
'; $seat = $result['seat']; echo $seat['sportseat'].' '.$seat['seatmaterial'].' '.$seat['seatheightadjustment'].' '.$seat['driverseatadjustmentmode'].' '.$seat['auxiliaryseatadjustmentmode'].' '.$seat['driverseatlumbarsupportadjustment'].' '.$seat['driverseatshouldersupportadjustment'].' '.$seat['frontseatheadrestadjustment'].' '.$seat['rearseatadjustmentmode'].' '.$seat['rearseatreclineproportion'].' '.$seat['rearseatangleadjustment'].' '.$seat['frontseatcenterarmrest'].' '.$seat['rearseatcenterarmrest'].' '.$seat['seatventilation'].' '.$seat['seatheating'].' '.$seat['seatmassage'].' '.$seat['electricseatmemory'].' '.$seat['childseatfixdevice'].' '.$seat['thirdrowseat'].'
'; echo '娱乐通讯:
'; $entcom = $result['entcom']; echo $entcom['locationservice'].' '.$entcom['bluetooth'].' '.$entcom['externalaudiointerface'].' '.$entcom['builtinharddisk'].' '.$entcom['cartv'].' '.$entcom['speakernum'].' '.$entcom['audiobrand'].' '.$entcom['dvd'].' '.$entcom['cd'].' '.$entcom['consolelcdscreen'].' '.$entcom['rearlcdscreen'].'
'; echo '空调冰箱:
'; $aircondrefrigerator = $result['aircondrefrigerator']; echo $aircondrefrigerator['airconditioningcontrolmode'].' '.$aircondrefrigerator['tempzonecontrol'].' '.$aircondrefrigerator['rearairconditioning'].' '.$aircondrefrigerator['reardischargeoutlet'].' '.$aircondrefrigerator['airconditioning'].' '.$aircondrefrigerator['airpurifyingdevice'].' '.$aircondrefrigerator['carrefrigerator'].'
'; echo '实际测试:
'; $actualtest = $result['actualtest']; echo $actualtest['accelerationtime100'].' '.$actualtest['brakingdistance'].'
';
#!/usr/bin/python # encoding:utf-8 import urllib2, json, urllib # 3、根据ID获取车型详情 data = {} data["appkey"] = "your_appkey_here" data["carid"] = 2571 #品牌ID url_values = urllib.urlencode(data) url = "https://api.jisuapi.com/car/detail" + "?" + url_values request = urllib2.Request(url) result = urllib2.urlopen(request) jsonarr = json.loads(result.read()) if jsonarr["status"] != u"0": print jsonarr["msg"] exit() result = jsonarr["result"] print result["id"],result["name"],result["initial"],result["parentid"],result["price"],result["yeartype"],result["productionstate"],result["salestate"],result["sizetype"],result["depth"] if result.has_key("logo"): print result["logo"] print "基本信息:" basic = result["basic"] print basic["price"],basic["saleprice"],basic["warrantypolicy"],basic["vechiletax"],basic["displacement"],basic["gearbox"],basic["comfuelconsumption"],basic["userfuelconsumption"],basic["officialaccelerationtime100"],basic["testaccelerationtime100"],basic["maxspeed"],basic["seatnum"] print "车体:" body = result["body"] print body["color"],body["len"],body["width"],body["height"],body["wheelbase"],body["fronttrack"],body["reartrack"],body["weight"],body["fullweight"],body["mingroundclearance"],body["approachangle"],body["departureangle"],body["luggagevolume"],body["luggagemode"],body["luggageopenmode"],body["inductionluggage"],body["doornum"],body["tooftype"],body["hoodtype"],body["roofluggagerack"],body["sportpackage"] print "发动机:" engine = result["engine"] print engine["position"],engine["model"],engine["displacement"],engine["displacementml"],engine["intakeform"],engine["cylinderarrangetype"],engine["cylindernum"],engine["valvetrain"],engine["valvestructure"],engine["compressionratio"],engine["bore"],engine["stroke"],engine["maxhorsepower"],engine["maxpower"],engine["maxpowerspeed"],engine["maxtorque"],engine["maxtorquespeed"],engine["fueltype"],engine["fuelgrade"],engine["fuelmethod"],engine["fueltankcapacity"],engine["cylinderheadmaterial"],engine["cylinderbodymaterial"],engine["environmentalstandards"],engine["startstopsystem"] print "变速箱:" gearbox = result["gearbox"] print gearbox["gearbox"],gearbox["shiftpaddles"] print "底盘制动:" chassisbrake = result["chassisbrake"] print chassisbrake["bodystructure"],chassisbrake["powersteering"],chassisbrake["frontbraketype"],chassisbrake["rearbraketype"],chassisbrake["parkingbraketype"],chassisbrake["drivemode"],chassisbrake["airsuspension"],chassisbrake["adjustablesuspension"],chassisbrake["frontsuspensiontype"],chassisbrake["rearsuspensiontype"],chassisbrake["centerdifferentiallock"] print "安全配置:" safe = result["safe"] print safe["airbagdrivingposition"],safe["airbagfrontpassenger"],safe["airbagfrontside"],safe["airbagfronthead"],safe["airbagknee"],safe["airbagrearside"],safe["airbagrearhead"],safe["safetybeltprompt"],safe["safetybeltlimiting"],safe["safetybeltpretightening"],safe["frontsafetybeltadjustment"],safe["rearsafetybelt"],safe["tirepressuremonitoring"],safe["zeropressurecontinued"],safe["centrallocking"],safe["childlock"],safe["remotekey"],safe["keylessentry"],safe["keylessstart"],safe["engineantitheft"] print "车轮:" wheel = result["wheel"] if wheel.has_key("wheel"): print wheel["wheel"] print wheel["fronttiresize"],wheel["reartiresize"],wheel["sparetiretype"],wheel["hubmaterial"] print "行车辅助:" drivingauxiliary = result["drivingauxiliary"] print drivingauxiliary["abs"],drivingauxiliary["ebd"],drivingauxiliary["brakeassist"],drivingauxiliary["tractioncontrol"],drivingauxiliary["esp"],drivingauxiliary["eps"],drivingauxiliary["automaticparking"],drivingauxiliary["hillstartassist"],drivingauxiliary["hilldescent"],drivingauxiliary["frontparkingradar"],drivingauxiliary["reversingradar"],drivingauxiliary["reverseimage"],drivingauxiliary["panoramiccamera"],drivingauxiliary["cruisecontrol"],drivingauxiliary["adaptivecruise"],drivingauxiliary["gps"],drivingauxiliary["automaticparkingintoplace"],drivingauxiliary["ldws"],drivingauxiliary["activebraking"],drivingauxiliary["integralactivesteering"],drivingauxiliary["nightvisionsystem"],drivingauxiliary["blindspotdetection"] print "门窗后视镜:" doormirror = result["doormirror"] print doormirror["openstyle"],doormirror["electricwindow"],doormirror["uvinterceptingglass"],doormirror["privacyglass"],doormirror["antipinchwindow"],doormirror["skylightopeningmode"],doormirror["skylightstype"],doormirror["rearwindowsunshade"],doormirror["rearsidesunshade"],doormirror["rearwiper"],doormirror["sensingwiper"],doormirror["electricpulldoor"],doormirror["rearmirrorwithturnlamp"],doormirror["externalmirrormemory"],doormirror["externalmirrorheating"],doormirror["externalmirrorfolding"],doormirror["externalmirroradjustment"],doormirror["rearviewmirrorantiglare"],doormirror["sunvisormirror"] print "灯光:" light = result["light"] if light.has_key("light"): print light["light"] print light["headlighttype"],light["optionalheadlighttype"],light["headlightautomaticopen"],light["headlightautomaticclean"],light["headlightdelayoff"],light["headlightdynamicsteering"],light["headlightilluminationadjustment"],light["headlightdimming"],light["frontfoglight"],light["readinglight"],light["interiorairlight"],light["daytimerunninglight"],light["ledtaillight"],light["lightsteeringassist"] print "内部配置:" internalconfig = result["internalconfig"] print internalconfig["steeringwheelbeforeadjustment"],internalconfig["steeringwheelupadjustment"],internalconfig["steeringwheeladjustmentmode"],internalconfig["steeringwheelmemory"],internalconfig["steeringwheelmaterial"],internalconfig["steeringwheelmultifunction"],internalconfig["steeringwheelheating"],internalconfig["computerscreen"],internalconfig["huddisplay"],internalconfig["interiorcolor"],internalconfig["rearcupholder"],internalconfig["supplyvoltage"] print "座椅:" seat = result["seat"] print seat["sportseat"],seat["seatmaterial"],seat["seatheightadjustment"],seat["driverseatadjustmentmode"],seat["auxiliaryseatadjustmentmode"],seat["driverseatlumbarsupportadjustment"],seat["driverseatshouldersupportadjustment"],seat["frontseatheadrestadjustment"],seat["rearseatadjustmentmode"],seat["rearseatreclineproportion"],seat["rearseatangleadjustment"],seat["frontseatcenterarmrest"],seat["rearseatcenterarmrest"],seat["seatventilation"],seat["seatheating"],seat["seatmassage"],seat["electricseatmemory"],seat["childseatfixdevice"],seat["thirdrowseat"] print "娱乐通讯:" entcom = result["entcom"] print entcom["locationservice"],entcom["bluetooth"],entcom["externalaudiointerface"],entcom["builtinharddisk"],entcom["cartv"],entcom["speakernum"],entcom["audiobrand"],entcom["dvd"],entcom["cd"],entcom["consolelcdscreen"],entcom["rearlcdscreen"] print "空调冰箱:" aircondrefrigerator = result["aircondrefrigerator"] print aircondrefrigerator["airconditioningcontrolmode"],aircondrefrigerator["tempzonecontrol"],aircondrefrigerator["rearairconditioning"],aircondrefrigerator["reardischargeoutlet"],aircondrefrigerator["airconditioning"],aircondrefrigerator["airpurifyingdevice"],aircondrefrigerator["carrefrigerator"] print "实际测试:" actualtest = result["actualtest"] print actualtest["accelerationtime100"],actualtest["brakingdistance"]
package api.jisuapi.car; import api.util.HttpUtil; import net.sf.json.JSONObject; public class Detail { public static final String APPKEY = "your_appkey_here";// 你的appkey public static final String URL = "https://api.jisuapi.com/car/detail"; public static final int carid = 2571;// 车ID public static void Get() { String result = null; String url = URL + "?appkey=" + APPKEY + "&carid=" + carid; try { result = HttpUtil.sendGet(url, "utf-8"); JSONObject json = JSONObject.fromObject(carid); if (json.getInt("status") != 0) { System.out.println(json.getString("msg")); } else { JSONObject resultarr = json.optJSONObject("result"); String id = resultarr.getString("id"); String name = resultarr.getString("name"); String initial = resultarr.getString("initial"); String parentid = resultarr.getString("parentid"); String logo = resultarr.getString("logo"); String price = resultarr.getString("price"); String yeartype = resultarr.getString("yeartype"); String productionstate = resultarr.getString("productionstate"); String salestate = resultarr.getString("salestate"); String sizetype = resultarr.getString("sizetype"); String depth = resultarr.getString("depth"); System.out.println(id + " " + name + " " + initial + " " + parentid + " " + logo + " " + price + " " + yeartype + " " + productionstate + " " + salestate + " " + sizetype + " " + depth); if (resultarr.opt("basic") != null) { JSONObject basic = resultarr.optJSONObject("basic"); String price1 = basic.getString("price"); String saleprice = basic.getString("saleprice"); String warrantypolicy = basic.getString("warrantypolicy"); String vechiletax = basic.getString("vechiletax"); String displacement = basic.getString("displacement"); String gearbox = basic.getString("gearbox"); String comfuelconsumption = basic.getString("comfuelconsumption"); String userfuelconsumption = basic.getString("userfuelconsumption"); String officialaccelerationtime100 = basic.getString("officialaccelerationtime100"); String testaccelerationtime100 = basic.getString("testaccelerationtime100"); String maxspeed = basic.getString("maxspeed"); String seatnum = basic.getString("seatnum"); System.out.println("基本信息:" + price1 + " " + saleprice + " " + warrantypolicy + " " + vechiletax + " " + displacement + " " + gearbox + " " + comfuelconsumption + " " + userfuelconsumption + " " + officialaccelerationtime100 + " " + testaccelerationtime100 + " " + maxspeed + " " + seatnum); } if (resultarr.opt("body") != null) { JSONObject body = resultarr.optJSONObject("body"); String color = body.getString("color"); String len = body.getString("len"); String width = body.getString("width"); String height = body.getString("height"); String wheelbase = body.getString("wheelbase"); String fronttrack = body.getString("fronttrack"); String reartrack = body.getString("reartrack"); String weight = body.getString("weight"); String fullweight = body.getString("fullweight"); String mingroundclearance = body.getString("mingroundclearance"); String approachangle = body.getString("approachangle"); String departureangle = body.getString("departureangle"); String luggagevolume = body.getString("luggagevolume"); String luggagemode = body.getString("luggagemode"); String luggageopenmode = body.getString("luggageopenmode"); String inductionluggage = body.getString("inductionluggage"); String doornum = body.getString("doornum"); String tooftype = body.getString("tooftype"); String hoodtype = body.getString("hoodtype"); String roofluggagerack = body.getString("roofluggagerack"); String sportpackage = body.getString("sportpackage"); System.out.println("车体:" + color + " " + len + " " + width + " " + height + " " + wheelbase + " " + fronttrack + " " + reartrack + " " + weight + " " + fullweight + " " + mingroundclearance + " " + approachangle + " " + departureangle + " " + luggagevolume + " " + luggagemode + " " + luggageopenmode + " " + inductionluggage + " " + doornum + " " + tooftype + " " + hoodtype + " " + roofluggagerack + " " + sportpackage); } if (resultarr.opt("engine") != null) { JSONObject engine = resultarr.optJSONObject("engine"); String position = engine.getString("position"); String model = engine.getString("model"); String displacement = engine.getString("displacement"); String displacementml = engine.getString("displacementml"); String intakeform = engine.getString("intakeform"); String cylinderarrangetype = engine.getString("cylinderarrangetype"); String cylindernum = engine.getString("cylindernum"); String valvetrain = engine.getString("valvetrain"); String valvestructure = engine.getString("valvestructure"); String compressionratio = engine.getString("compressionratio"); String bore = engine.getString("bore"); String stroke = engine.getString("stroke"); String maxhorsepower = engine.getString("maxhorsepower"); String maxpower = engine.getString("maxpower"); String maxpowerspeed = engine.getString("maxpowerspeed"); String maxtorque = engine.getString("maxtorque"); String maxtorquespeed = engine.getString("maxtorquespeed"); String fueltype = engine.getString("fueltype"); String fuelgrade = engine.getString("fuelgrade"); String fuelmethod = engine.getString("fuelmethod"); String fueltankcapacity = engine.getString("fueltankcapacity"); String cylinderheadmaterial = engine.getString("cylinderheadmaterial"); String cylinderbodymaterial = engine.getString("cylinderbodymaterial"); String environmentalstandards = engine.getString("environmentalstandards"); String startstopsystem = engine.getString("startstopsystem"); System.out.println("发动机:" + position + " " + model + " " + displacement + " " + displacementml + " " + intakeform + " " + cylinderarrangetype + " " + cylindernum + " " + valvetrain + " " + valvestructure + " " + compressionratio + " " + bore + " " + stroke + " " + maxhorsepower + " " + maxpower + " " + maxpowerspeed + " " + maxtorque + " " + maxtorquespeed + " " + fueltype + " " + fuelgrade + " " + fuelmethod + " " + fueltankcapacity + " " + cylinderheadmaterial + " " + cylinderbodymaterial + " " + environmentalstandards + " " + startstopsystem); } if (resultarr.opt("gearbox") != null) { JSONObject gearbox = resultarr.optJSONObject("gearbox"); String gearbox1 = gearbox.getString("gearbox"); String shiftpaddles = gearbox.getString("shiftpaddles"); System.out.println("变速箱:" + gearbox1 + " " + shiftpaddles); } if (resultarr.opt("chassisbrake") != null) { JSONObject chassisbrake = resultarr.optJSONObject("chassisbrake"); String bodystructure = chassisbrake.getString("bodystructure"); String powersteering = chassisbrake.getString("powersteering"); String frontbraketype = chassisbrake.getString("frontbraketype"); String rearbraketype = chassisbrake.getString("rearbraketype"); String parkingbraketype = chassisbrake.getString("parkingbraketype"); String drivemode = chassisbrake.getString("drivemode"); String airsuspension = chassisbrake.getString("airsuspension"); String adjustablesuspension = chassisbrake.getString("adjustablesuspension"); String frontsuspensiontype = chassisbrake.getString("frontsuspensiontype"); String rearsuspensiontype = chassisbrake.getString("rearsuspensiontype"); String centerdifferentiallock = chassisbrake.getString("centerdifferentiallock"); System.out.println("底盘制动:" + bodystructure + " " + powersteering + " " + frontbraketype + " " + rearbraketype + " " + parkingbraketype + " " + drivemode + " " + airsuspension + " " + adjustablesuspension + " " + frontsuspensiontype + " " + rearsuspensiontype + " " + centerdifferentiallock); } if (resultarr.opt("safe") != null) { JSONObject safe = resultarr.optJSONObject("safe"); String airbagdrivingposition = safe.getString("airbagdrivingposition"); String airbagfrontpassenger = safe.getString("airbagfrontpassenger"); String airbagfrontside = safe.getString("airbagfrontside"); String airbagfronthead = safe.getString("airbagfronthead"); String airbagknee = safe.getString("airbagknee"); String airbagrearside = safe.getString("airbagrearside"); String airbagrearhead = safe.getString("airbagrearhead"); String safetybeltprompt = safe.getString("safetybeltprompt"); String safetybeltlimiting = safe.getString("safetybeltlimiting"); String safetybeltpretightening = safe.getString("safetybeltpretightening"); String frontsafetybeltadjustment = safe.getString("frontsafetybeltadjustment"); String rearsafetybelt = safe.getString("rearsafetybelt"); String tirepressuremonitoring = safe.getString("tirepressuremonitoring"); String zeropressurecontinued = safe.getString("zeropressurecontinued"); String centrallocking = safe.getString("centrallocking"); String childlock = safe.getString("childlock"); String remotekey = safe.getString("remotekey"); String keylessentry = safe.getString("keylessentry"); String keylessstart = safe.getString("keylessstart"); String engineantitheft = safe.getString("engineantitheft"); System.out.println("安全配置:" + airbagdrivingposition + " " + airbagfrontpassenger + " " + airbagfrontside + " " + airbagfronthead + " " + airbagknee + " " + airbagrearside + " " + airbagrearhead + " " + safetybeltprompt + " " + safetybeltlimiting + " " + safetybeltpretightening + " " + frontsafetybeltadjustment + " " + rearsafetybelt + " " + tirepressuremonitoring + " " + zeropressurecontinued + " " + centrallocking + " " + childlock + " " + remotekey + " " + keylessentry + " " + keylessstart + " " + engineantitheft); } if (resultarr.opt("wheel") != null) { JSONObject wheel = resultarr.optJSONObject("wheel"); String fronttiresize = wheel.getString("fronttiresize"); String reartiresize = wheel.getString("reartiresize"); String sparetiretype = wheel.getString("sparetiretype"); String hubmaterial = wheel.getString("hubmaterial"); System.out.println( "车轮:" + fronttiresize + " " + reartiresize + " " + sparetiretype + " " + hubmaterial); } if (resultarr.opt("drivingauxiliary") != null) { JSONObject drivingauxiliary = resultarr.optJSONObject("drivingauxiliary"); String abs = drivingauxiliary.getString("abs"); String ebd = drivingauxiliary.getString("ebd"); String brakeassist = drivingauxiliary.getString("brakeassist"); String tractioncontrol = drivingauxiliary.getString("tractioncontrol"); String esp = drivingauxiliary.getString("esp"); String eps = drivingauxiliary.getString("eps"); String automaticparking = drivingauxiliary.getString("automaticparking"); String hillstartassist = drivingauxiliary.getString("hillstartassist"); String hilldescent = drivingauxiliary.getString("hilldescent"); String frontparkingradar = drivingauxiliary.getString("frontparkingradar"); String reversingradar = drivingauxiliary.getString("reversingradar"); String reverseimage = drivingauxiliary.getString("reverseimage"); String panoramiccamera = drivingauxiliary.getString("panoramiccamera"); String cruisecontrol = drivingauxiliary.getString("cruisecontrol"); String adaptivecruise = drivingauxiliary.getString("adaptivecruise"); String gps = drivingauxiliary.getString("gps"); String automaticparkingintoplace = drivingauxiliary.getString("automaticparkingintoplace"); String ldws = drivingauxiliary.getString("ldws"); String activebraking = drivingauxiliary.getString("activebraking"); String integralactivesteering = drivingauxiliary.getString("integralactivesteering"); String nightvisionsystem = drivingauxiliary.getString("nightvisionsystem"); String blindspotdetection = drivingauxiliary.getString("blindspotdetection"); System.out.println("行车辅助:" + abs + " " + ebd + " " + brakeassist + " " + tractioncontrol + " " + esp + " " + eps + " " + automaticparking + " " + hillstartassist + " " + hilldescent + " " + frontparkingradar + " " + reversingradar + " " + reverseimage + " " + panoramiccamera + " " + cruisecontrol + " " + adaptivecruise + " " + gps + " " + automaticparkingintoplace + " " + ldws + " " + activebraking + " " + integralactivesteering + " " + nightvisionsystem + " " + blindspotdetection); } if (resultarr.opt("doormirror") != null) { JSONObject doormirror = resultarr.optJSONObject("doormirror"); String openstyle = doormirror.getString("openstyle"); String electricwindow = doormirror.getString("electricwindow"); String uvinterceptingglass = doormirror.getString("uvinterceptingglass"); String privacyglass = doormirror.getString("privacyglass"); String antipinchwindow = doormirror.getString("antipinchwindow"); String skylightopeningmode = doormirror.getString("skylightopeningmode"); String skylightstype = doormirror.getString("skylightstype"); String rearwindowsunshade = doormirror.getString("rearwindowsunshade"); String rearsidesunshade = doormirror.getString("rearsidesunshade"); String rearwiper = doormirror.getString("rearwiper"); String sensingwiper = doormirror.getString("sensingwiper"); String electricpulldoor = doormirror.getString("electricpulldoor"); String rearmirrorwithturnlamp = doormirror.getString("rearmirrorwithturnlamp"); String externalmirrormemory = doormirror.getString("externalmirrormemory"); String externalmirrorheating = doormirror.getString("externalmirrorheating"); String externalmirrorfolding = doormirror.getString("externalmirrorfolding"); String externalmirroradjustment = doormirror.getString("externalmirroradjustment"); String rearviewmirrorantiglare = doormirror.getString("rearviewmirrorantiglare"); String sunvisormirror = doormirror.getString("sunvisormirror"); System.out.println("门窗后视镜:" + openstyle + " " + electricwindow + " " + uvinterceptingglass + " " + privacyglass + " " + antipinchwindow + " " + skylightopeningmode + " " + skylightstype + " " + rearwindowsunshade + " " + rearsidesunshade + " " + rearwiper + " " + sensingwiper + " " + electricpulldoor + " " + rearmirrorwithturnlamp + " " + externalmirrormemory + " " + externalmirrorheating + " " + externalmirrorfolding + " " + externalmirroradjustment + " " + rearviewmirrorantiglare + " " + sunvisormirror); } if (resultarr.opt("light") != null) { JSONObject light = resultarr.optJSONObject("light"); String light1 = light.getString("light"); String headlighttype = light.getString("headlighttype"); String optionalheadlighttype = light.getString("optionalheadlighttype"); String headlightautomaticopen = light.getString("headlightautomaticopen"); String headlightautomaticclean = light.getString("headlightautomaticclean"); String headlightdelayoff = light.getString("headlightdelayoff"); String headlightdynamicsteering = light.getString("headlightdynamicsteering"); String headlightilluminationadjustment = light.getString("headlightilluminationadjustment"); String headlightdimming = light.getString("headlightdimming"); String frontfoglight = light.getString("frontfoglight"); String readinglight = light.getString("readinglight"); String interiorairlight = light.getString("interiorairlight"); String daytimerunninglight = light.getString("daytimerunninglight"); String ledtaillight = light.getString("ledtaillight"); String lightsteeringassist = light.getString("lightsteeringassist"); System.out.println("灯光:" + light1 + " " + headlighttype + " " + optionalheadlighttype + " " + headlightautomaticopen + " " + headlightautomaticclean + " " + headlightdelayoff + " " + headlightdynamicsteering + " " + headlightilluminationadjustment + " " + headlightdimming + " " + frontfoglight + " " + readinglight + " " + interiorairlight + " " + daytimerunninglight + " " + ledtaillight + " " + lightsteeringassist); } if (resultarr.opt("internalconfig") != null) { JSONObject internalconfig = resultarr.optJSONObject("internalconfig"); String steeringwheelbeforeadjustment = internalconfig.getString("steeringwheelbeforeadjustment"); String steeringwheelupadjustment = internalconfig.getString("steeringwheelupadjustment"); String steeringwheeladjustmentmode = internalconfig.getString("steeringwheeladjustmentmode"); String steeringwheelmemory = internalconfig.getString("steeringwheelmemory"); String steeringwheelmaterial = internalconfig.getString("steeringwheelmaterial"); String steeringwheelmultifunction = internalconfig.getString("steeringwheelmultifunction"); String steeringwheelheating = internalconfig.getString("steeringwheelheating"); String computerscreen = internalconfig.getString("computerscreen"); String huddisplay = internalconfig.getString("huddisplay"); String interiorcolor = internalconfig.getString("interiorcolor"); String rearcupholder = internalconfig.getString("rearcupholder"); String supplyvoltage = internalconfig.getString("supplyvoltage"); System.out.println("内部配置:" + steeringwheelbeforeadjustment + " " + steeringwheelupadjustment + " " + steeringwheeladjustmentmode + " " + steeringwheelmemory + " " + steeringwheelmaterial + " " + steeringwheelmultifunction + " " + steeringwheelheating + " " + computerscreen + " " + huddisplay + " " + interiorcolor + " " + rearcupholder + " " + supplyvoltage); } if (resultarr.opt("seat") != null) { JSONObject seat = resultarr.optJSONObject("seat"); String sportseat = seat.getString("sportseat"); String seatmaterial = seat.getString("seatmaterial"); String seatheightadjustment = seat.getString("seatheightadjustment"); String driverseatadjustmentmode = seat.getString("driverseatadjustmentmode"); String auxiliaryseatadjustmentmode = seat.getString("auxiliaryseatadjustmentmode"); String driverseatlumbarsupportadjustment = seat.getString("driverseatlumbarsupportadjustment"); String driverseatshouldersupportadjustment = seat.getString("driverseatshouldersupportadjustment"); String frontseatheadrestadjustment = seat.getString("frontseatheadrestadjustment"); String rearseatadjustmentmode = seat.getString("rearseatadjustmentmode"); String rearseatreclineproportion = seat.getString("rearseatreclineproportion"); String rearseatangleadjustment = seat.getString("rearseatangleadjustment"); String frontseatcenterarmrest = seat.getString("frontseatcenterarmrest"); String rearseatcenterarmrest = seat.getString("rearseatcenterarmrest"); String seatventilation = seat.getString("seatventilation"); String seatheating = seat.getString("seatheating"); String seatmassage = seat.getString("seatmassage"); String electricseatmemory = seat.getString("electricseatmemory"); String childseatfixdevice = seat.getString("childseatfixdevice"); String thirdrowseat = seat.getString("thirdrowseat"); System.out.println("座椅:" + sportseat + " " + seatmaterial + " " + seatheightadjustment + " " + driverseatadjustmentmode + " " + auxiliaryseatadjustmentmode + " " + driverseatlumbarsupportadjustment + " " + driverseatshouldersupportadjustment + " " + frontseatheadrestadjustment + " " + rearseatadjustmentmode + " " + rearseatreclineproportion + " " + rearseatangleadjustment + " " + frontseatcenterarmrest + " " + rearseatcenterarmrest + " " + seatventilation + " " + seatheating + " " + seatmassage + " " + electricseatmemory + " " + childseatfixdevice + " " + thirdrowseat); } if (resultarr.opt("entcom") != null) { JSONObject entcom = resultarr.optJSONObject("entcom"); String locationservice = entcom.getString("locationservice"); String bluetooth = entcom.getString("bluetooth"); String externalaudiointerface = entcom.getString("externalaudiointerface"); String builtinharddisk = entcom.getString("builtinharddisk"); String cartv = entcom.getString("cartv"); String speakernum = entcom.getString("speakernum"); String audiobrand = entcom.getString("audiobrand"); String dvd = entcom.getString("dvd"); String cd = entcom.getString("cd"); String consolelcdscreen = entcom.getString("consolelcdscreen"); String rearlcdscreen = entcom.getString("rearlcdscreen"); System.out.println("娱乐通讯:" + locationservice + " " + bluetooth + " " + externalaudiointerface + " " + builtinharddisk + " " + cartv + " " + speakernum + " " + audiobrand + " " + dvd + " " + cd + " " + consolelcdscreen + " " + rearlcdscreen); } if (resultarr.opt("aircondrefrigerator") != null) { JSONObject aircondrefrigerator = resultarr.optJSONObject("aircondrefrigerator"); String airconditioningcontrolmode = aircondrefrigerator.getString("airconditioningcontrolmode"); String tempzonecontrol = aircondrefrigerator.getString("tempzonecontrol"); String rearairconditioning = aircondrefrigerator.getString("rearairconditioning"); String reardischargeoutlet = aircondrefrigerator.getString("reardischargeoutlet"); String airconditioning = aircondrefrigerator.getString("airconditioning"); String airpurifyingdevice = aircondrefrigerator.getString("airpurifyingdevice"); String carrefrigerator = aircondrefrigerator.getString("carrefrigerator"); System.out.println("空调冰箱:" + airconditioningcontrolmode + " " + tempzonecontrol + " " + rearairconditioning + " " + reardischargeoutlet + " " + airconditioning + " " + airpurifyingdevice + " " + carrefrigerator); } if (resultarr.opt("actualtest") != null) { JSONObject actualtest = resultarr.optJSONObject("actualtest"); String accelerationtime100 = actualtest.getString("accelerationtime100"); String brakingdistance = actualtest.getString("brakingdistance"); System.out.println("实际测试:" + accelerationtime100 + " " + brakingdistance); } } } catch (Exception e) { e.printStackTrace(); } } }
{ "status": 0, "msg": "ok", "result": { "id": "2571", "name": "2016款 Sportback 35TFSI 进取型", "initial": "A", "parentid": "220", "logo": "http://api.jisuapi.com/car/static/images/logo/300/2571.jpg", "price": "18.49万", "yeartype": "2016", "productionstate": "在产", "salestate": "在销", "sizetype": "紧凑型车", "depth": "4", "basic": { "price": "18.49万", "saleprice": "13.13万-18.47万", "warrantypolicy": "三年或10万公里", "vechiletax": "待查", "displacement": "1.4", "gearbox": "7档 双离合", "comfuelconsumption": "5.5", "userfuelconsumption": "", "officialaccelerationtime100": "8.4", "testaccelerationtime100": "", "maxspeed": "213", "seatnum": "5" }, "body": { "color": "季风灰,#2c5866|莲花灰,#403e33|海南蓝,#4", "len": "4319", "width": "1785", "height": "1441", "wheelbase": "2629", "fronttrack": "", "reartrack": "", "weight": "1340", "fullweight": "", "mingroundclearance": "", "approachangle": "", "departureangle": "", "luggagevolume": "380", "luggagemode": "", "luggageopenmode": "掀背", "inductionluggage": "", "doornum": "5", "tooftype": "", "hoodtype": "", "roofluggagerack": "", "sportpackage": "无" }, "engine": { "position": "前置", "model": "EA211", "displacement": "1.4", "displacementml": "1395", "intakeform": "涡轮增压", "cylinderarrangetype": "L型", "cylindernum": "4", "valvetrain": "4", "valvestructure": "双顶置凸轮(DOHC)", "compressionratio": "", "bore": "", "stroke": "", "maxhorsepower": "150", "maxpower": "110", "maxpowerspeed": "5000-6000", "maxtorque": "250", "maxtorquespeed": "1750-3000", "fueltype": "汽油", "fuelgrade": "97号", "fuelmethod": "直喷", "fueltankcapacity": "50", "cylinderheadmaterial": "铝合金", "cylinderbodymaterial": "铝合金", "environmentalstandards": "国4,京5", "startstopsystem": "有" }, "gearbox": { "gearbox": "7档 双离合", "shiftpaddles": "选配" } } }
参数名称 | 类型 | 必填 | 说明 |
---|---|---|---|
keyword | string | 是 | 关键词 |
参数名称 | 类型 | 说明 |
---|---|---|
keyword | string | 关键词 |
id | string | ID |
name | string | 名称 |
logo | string | LOGO |
price | string | 价格 |
yeartype | string | 年款 |
productionstate | string | 生产状态 |
salestate | string | 销售状态 |
sizetype | string | 尺寸类型 |
<?php require_once 'curl.func.php'; $appkey = 'your_appkey_here';//你的appkey $keyword = '奔驰E级2017款E200运动版';//车ID $url = "https://api.jisuapi.com/car/search?keyword=$keyword&appkey=$appkey"; $result = curlOpen($url, ['ssl'=>true]); $jsonarr = json_decode($result, true); //exit(var_dump($jsonarr)); if($jsonarr['status'] != 0) { echo $jsonarr['msg']; exit(); } echo $result['keyword'].':'; $result = $jsonarr['result']['list']; foreach($result as $v) { echo $v['id'].' '.$v['name'].' '.$v['logo'].' '.$v['salestate'].' '.$v['price'].' '.$v['yeartype'].' '.$v['productionstate'].' '.$v['sizetype'].'
';//具体的每一款车,4级 }
{ "status": 0, "msg": "ok", "result": { "keyword": "奔驰E级2017款E200运动版", "list": [ { "id": "34420", "name": "2017款 E 200 运动轿车", "logo": "http://api.jisuapi.com/car/static/images/logo/300/34420.jpg", "price": "", "yeartype": "2017", "productionstate": "在产", "salestate": "在销", "sizetype": "中大型车" }, { "id": "34422", "name": "2017款 E 200 运动轿车 4MATIC", "logo": "http://api.jisuapi.com/car/static/images/logo/300/34422.jpg", "price": "", "yeartype": "2017", "productionstate": "在产", "salestate": "在销", "sizetype": "中大型车" }, { "id": "34424", "name": "2017款 E 200 L 运动轿车 4MATIC ", "logo": "http://api.jisuapi.com/car/static/images/logo/300/34424.jpg", "price": "", "yeartype": "2017", "productionstate": "在产", "salestate": "在销", "sizetype": "中大型车" } ] } }
代号 | 说明 |
---|---|
201 | 上级ID错误 |
202 | 车型ID错误 |
205 | 没有信息 |
代号 | 说明 |
---|---|
101 | APPKEY为空或不存在 |
102 | APPKEY已过期 |
103 | APPKEY无请求此数据权限 |
104 | 请求超过次数限制 |
105 | IP被禁止 |
106 | IP请求超过限制 |
107 | 接口维护中 |
108 | 接口已停用 |
计次套餐 | 套餐规格 | 价格 | ||
---|---|---|---|---|
免费套餐 | 100次 | 0.00 元 | ≈0元/次 | |
Level2 | 20000次 | 194.00 元 | ≈0.0097元/次 | |
Level3 | 50000次 | 480.00 元 | ≈0.0096元/次 | |
Level4 | 100000次 | 950.00 元 | ≈0.0095元/次 | |
* 包月套餐和计次套餐不可同时购买,不可叠加使用。 |
包月套餐 | 套餐规格 | 价格 | ||
---|---|---|---|---|
Level2 特惠 | 3000次/天 | 369.00元 | ≈0.00410元/次 | |
Level3 | 6000次/天 | 689.00元 | ≈0.00383元/次 | |
Level4 | 10000次/天 | 1059.00元 | ≈0.00353元/次 | |
* 套餐使用时限为订购之日起30日。 |
1、优化了图片的精度以及水印问题。
2、新增了一些数字量化参数,方便对比车型。
数据已经更新,增加gearnum、geartype字段