google-maps-direction-cli
v1.1.0
Published
google maps direction cli
Downloads
6
Maintainers
Readme
Google Maps Direction API
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
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