none
parameter passing for distance matrix api RRS feed

  • Question

  • i want to pass latitude and longitude as parameter with request.get(url,params=parameters) while parameters are 

    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=<BingMapsKey>'

    can any one help me with this.


    Sunday, March 24, 2019 2:28 PM

All replies