From 65a422c92d191fad269c08cd82c3743fc5e9b452 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Mon, 21 Dec 2020 12:10:31 +0000 Subject: [PATCH] Update README.md --- etas/README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/etas/README.md b/etas/README.md index 473237e..8412403 100644 --- a/etas/README.md +++ b/etas/README.md @@ -8,10 +8,16 @@ Current limitations: ## Usage -There is one required config value: `google.maps.apikey`. Once you have set this config value, run the service using `micro run`. +The ETA service depends on the Google Maps API. Ensure you set the "google.maps.apikey" config value to your API key. + +``` +micro config set google.maps.apikey YOUR_API_KEY +``` + +Once set, run the service using `micro run github.com/micro/services/etas`. ```bash -micro@Bens-MBP-3 etas % micro call etas ETAs.Calculate $(cat example-req.json) +$ micro call etas ETAs.Calculate $(cat example-req.json) { "points": { "brentwood-station": {