google-maps-direction-cli

1.1.0 • Public • Published

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

Package Sidebar

Install

npm i google-maps-direction-cli

Weekly Downloads

0

Version

1.1.0

License

MIT

Last publish

Collaborators

  • yujinlim