i am tryiing to pass parameters in bing map distance matrix api with request.get(url,parameter) but it is not passing in correct order
i tried this
enter code here
parameters = {
'origins':[47.6044,-122.3345],
'destinations':{"latitude":47.6731,"longitude":-122.2057},
"travelMode": "driving",
'key':api_for_bing
}
but it gives the response :
'https://dev.virtualearth.net/REST/v1/Routes/DistanceMatrix?origins=47.6044&origins=-122.3345&destinations=latitude&destinations=longitude&travelMode=driving&key=my_key'
can any one help me with this.
while it shoud be like this
'https://dev.virtualearth.net/REST/v1/Routes/DistanceMatrix?origins=47.6044,-122.3345;47.6731,-122.1185;47.6149,-122.1936&destinations=47.4747,-122.2057&travelMode=driving&key=my_key'