curl --location -g --request GET 'https://api.map.baidu.com/logistics_direction/v1/truck?origin=22.673186,114.065699&destination=22.6721,114.068886&ak=&sn='
{
"status": 0,
"message": "string",
"result": {
"restriction": {
"type": "string",
"info": "string"
},
"total": 0,
"routesinfo_ext": "string",
"routes": {
"origin": {
"lng": 0,
"lat": 0
},
"destination": {
"lng": 0,
"lat": 0
},
"traffic_light_num": 0,
"unavoid_statistics": {
"height": 0,
"width": 0,
"weight": 0,
"plate": 0,
"road_to_open": 0,
"road_not_open": 0
},
"tag": "string",
"track_idx": 0,
"unavoid_polygons_idx": "string",
"distance": 0,
"duration": 0,
"toll": 0,
"toll_distance": 0,
"oil_cost": 0,
"steps": {
"leg_index": 0,
"direction": 0,
"distance": 0,
"duration": 0,
"adcodes": "string",
"road_name": "string",
"road_type": 0,
"toll_gate_name": "string",
"toll_gate_location": {
"lng": 0,
"lat": 0
},
"start_location": {
"lng": 0,
"lat": 0
},
"end_location": {
"lng": 0,
"lat": 0
},
"path": "string",
"traffic_condition": {
"status": 0,
"geo_cnt": 0,
"distance": 0
}
}
}
}
}