Hi, hope this is not a silly question…
coords = ((-89.587858,36.876719),(-97.078065, 32.934292)) client = openrouteservice.Client(key='myapi_key') routes = client.directions(coords)
In python i can see that the routes is now a ‘dict’ object.
How can I assign the “distance” information retrieved by the api?
I’ve tried a few things with no avail:
print(routes['summary']) distance = loc['routes']['summary']