From 980582fe08cad275563404fe64e10332e74c6697 Mon Sep 17 00:00:00 2001 From: Max Buchholz Date: Tue, 23 Jul 2024 10:00:53 +0200 Subject: [PATCH 1/2] Fix 404 Link --- routingpy/routers/valhalla.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routingpy/routers/valhalla.py b/routingpy/routers/valhalla.py index 889d854..c902d4a 100644 --- a/routingpy/routers/valhalla.py +++ b/routingpy/routers/valhalla.py @@ -128,7 +128,7 @@ def directions( ): """Get directions between an origin point and a destination point. - For more information, visit https://github.com/valhalla/valhalla/blob/master/docs/api/turn-by-turn/api-reference.md. + For more information, visit https://github.com/valhalla/valhalla/blob/master/docs/docs/api/matrix/api-reference.md. Use ``kwargs`` for any missing ``directions`` request options. From 504b1400d02bca0aae7c984c6e8c90e1f0f26914 Mon Sep 17 00:00:00 2001 From: Max Buchholz Date: Tue, 23 Jul 2024 10:23:05 +0200 Subject: [PATCH 2/2] Fix matrix and turn-by-turn link --- routingpy/routers/valhalla.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routingpy/routers/valhalla.py b/routingpy/routers/valhalla.py index c902d4a..d6246bc 100644 --- a/routingpy/routers/valhalla.py +++ b/routingpy/routers/valhalla.py @@ -128,7 +128,7 @@ def directions( ): """Get directions between an origin point and a destination point. - For more information, visit https://github.com/valhalla/valhalla/blob/master/docs/docs/api/matrix/api-reference.md. + For more information, visit https://github.com/valhalla/valhalla/blob/master/docs/docs/api/turn-by-turn/api-reference.md. Use ``kwargs`` for any missing ``directions`` request options. @@ -513,7 +513,7 @@ def matrix( """ Gets travel distance and time for a matrix of origins and destinations. - For more information, visit https://github.com/valhalla/valhalla/blob/master/docs/api/matrix/api-reference.md. + For more information, visit https://github.com/valhalla/valhalla/blob/master/docs/docs/api/matrix/api-reference.md. Use ``kwargs`` for any missing ``matrix`` request options.