Skip to content

yujinlim/google-maps-direction-cli

Repository files navigation

Google Maps Direction API Build Status

a simple google maps direction cli, control your traffic via command prompt

The world is in your hand! Look up direction and traffic time via command prompt! Use api key for better traffic information, see http://googlegeodevelopers.blogspot.my/2015/11/predicting-future-with-google-maps-apis.html

example

Install

npm i -g google-maps-direction-cli

Usage

$ direction --help
  google maps direction cli

  Usage
   $ direction <origin> <destination>

  Options
   $ -k, --key Include api key for better traffic forecast (or DIRECTION_API_KEY environment variable)

  Examples
   $ direction "bukit damansara" "klcc"
   $ DIRECTION_API_KEY=API_KEY direction "bukit damansara" "klcc"
   $ direction "bukit damansara" "klcc" -k API_KEY

$ direction "bukit damansara" "klcc"

Related

for more information about parameters, please read more here

About

Look up direction and traffic time via command prompt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published