'HERE GET Request Python
Was wondering if there's a way for me to send out multiple long and lat cords in the destination and arrival in the HERE api instead of just individual long and lat. For example in the origin and destination param, I want to input a list of long and lat.
import request
url = """https://router.hereapi.com/v8/routes?origin=47.584247,11.055542&origin=67.584247,12.055542&transportMode=pedestrian&destination=47.589299,11.060172&destination=63.584247,11.055542&return=polyline,elevation&apikey=apikey"""
response = requests.get(url, verify = False)
j = response.json()
Solution 1:[1]
Kindly refer the examples in multiplewaypoint. Also please use our router tool Routerdemo to validate.
Thanks.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | HERE Developer Support |
