driving-time

command module
Version: v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2019 License: MIT Imports: 1 Imported by: 0

README

driving-time

driving-time is a CLI (and server) displaying driving time based on live traffic data.

Requirement

A Google Cloud Platform API key (see here how to get one) since the CLI queries the Google Maps Distance Matrix API.

Installation

Options:

  1. Download the binary in https://github.com/ansd/driving-time/releases
  2. Use Homebrew: see https://github.com/ansd/homebrew-tap
  3. Build from source: go get github.com/ansd/driving-time

Usage

Create a config file by copying driving-time.yml.template to driving-time.yml.

Start the server:

$ driving-time --config driving-time.yml serve

serve.png

Print live traffic data on the command line: print.png

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL