Probably a silly question. I just want to get the distance between two points using openrouteservice in python.
I have tried to extract the distance using:
import openrouteservice as ors
client = ors.Client(key=‘xxx’)
coords = ((8.34234,48.23424),(8.34423,48.26424))
routes = client.directions(coords)
I’ve tried several other combinations, but i’m finding it hard to extract.
Please let me know what the correct way to simply print the distance would be? It should just be a number like : 5541.5