Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

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

Install

npm i google-maps-direction-cli

DownloadsWeekly Downloads

5

Version

1.1.0

License

MIT

Last publish

Collaborators

  • avatar