Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yujinlim/google-maps-direction-cli
Look up direction and traffic time via command prompt
https://github.com/yujinlim/google-maps-direction-cli
Last synced: 2 months ago
JSON representation
Look up direction and traffic time via command prompt
- Host: GitHub
- URL: https://github.com/yujinlim/google-maps-direction-cli
- Owner: yujinlim
- License: mit
- Created: 2015-11-12T15:31:52.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-13T05:55:01.000Z (about 9 years ago)
- Last Synced: 2024-10-12T01:08:03.733Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 0 Bytes
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Google Maps Direction API [![Build Status](https://travis-ci.org/yujinlim/google-maps-direction-cli.svg)](https://travis-ci.org/yujinlim/google-maps-direction-cli)
> a simple google maps direction cli, control your traffic via command promptThe 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](http://googlegeodevelopers.blogspot.my/2015/11/predicting-future-with-google-maps-apis.html)
![example](example.png)
## Install
```bash
npm i -g google-maps-direction-cli
```## Usage
```bash
$ direction --help
google maps direction cliUsage
$ directionOptions
$ -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
- [`google-maps-direction`](https://github.com/yujinlim/google-maps-direction)for more information about parameters, please read more [here](https://developers.google.com/maps/documentation/directions/intro#RequestParameters)