From f26d0d270c7683071b12b8b118c26a78a986885b Mon Sep 17 00:00:00 2001 From: JeromeHoen <45117380+JeromeHoen@users.noreply.github.com> Date: Tue, 25 Dec 2018 13:56:56 +0100 Subject: [PATCH] Clearer directions example Add the access token when creating the direction object to avoid 401 responses. --- docs/directions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/directions.md b/docs/directions.md index db684a8..f39da6c 100644 --- a/docs/directions.md +++ b/docs/directions.md @@ -31,7 +31,7 @@ route up to 25 points. Each of your input waypoints will be visited in order and should be represented by a GeoJSON point feature. ```python ->>> service = Directions() +>>> service = Directions(access_token="pk.YOUR_ACCESS_TOKEN") ```