https://route.cit.api.here.com/routing/7.2/calculateroute.json
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&waypoint0=geo!52.5,13.4
&waypoint1=geo!52.5,13.45
&mode=fastest;car;traffic:disabled
requests
:import requests
url = 'https://route.cit.api.here.com/routing/7.2/calculateroute.json'
params = {
'app_id': 'DemoAppId01082013GAL',
'app_code': 'AJKnXv84fjrb0KIHawS0Tg',
'waypoint0': 'geo!52.5,13.4',
'waypoint1': 'geo!52.5,13.45',
'mode': 'fastest;car;traffic:disabled',
}
response = requests.get(url, params=params)
result = response.json()
result
получите ответ сервера в виде хеша.