curl --location -g --request GET 'https://api.map.baidu.com/direction/v2/motorcycle?origin=4846797.3,12948640.7&ak=&sn='
{
"status": 0,
"message": "string",
"result": {
"restriction": "string",
"total": 0,
"routes": {
"origin": {
"lng": 0,
"lat": 0
},
"destination": {
"lng": 0,
"lat": 0
},
"tag": "string",
"restriction_info": {
"status": 0,
"desc": "string"
},
"distance": 0,
"duration": 0,
"taxi_fee": 0,
"toll": 0,
"toll_distance": 0,
"steps": {
"leg_index": 0,
"direction": 0,
"distance": 0,
"road_name": "string",
"road_type": 0,
"toll": 0,
"toll_distance": 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",
"adcodes": "string",
"traffic_condition": {
"status": 0,
"geo_cnt": 0,
"distance": 0
}
}
}
}
}