While the link here shows that the Herepy library supports Here-API's bicycle routing, I cannot make it work (while car routing works great).
When running:
import herepy
#https://herepy.readthedocs.io/en/latest/herepy.html
lat1,lng1 = 45.575402, -73.209555
lat2,lng2 = 45.595625, -73.619487
routingApi = herepy.RoutingApi('a key', 'another key')
byCar = routingApi.car_route([lat1,lng1],[lat2,lng2],[herepy.RouteMode.car, herepy.RouteMode.fastest])
byBike = routingApi.bicycle_route([lat1,lng1],[lat2,lng2])
I get :
AttributeError: 'RoutingApi' object has no attribute 'bicycle_route'
Is the bicycle_route() function not implemented properly, or am I doing something wrong here?
It looks like this function was just added recently, try installing the latest version from source, i.e.:
python setup.py install