weathergo

command module
v0.0.0-...-2dea1cd Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

WeatherGo

A simple command-line weather tool written in Go

Getting started

You must have golang installed and working on your system with a valid $GOPATH. To use this tool you first need to obtain a Google geocode api key from here

You will probably have to start a free trial if you do not already have an account

Installation

Using go get

go get -u github.com/linuxfreak003/weathergo

Usage

Command: weathergo -key <apikey> [Options...]

CONFIG:
  -key <key>    API key to use
LOCATION:
  -city <city>        Zipcode
  -state <state>      Zipcode
  -country <country>  Country (defaults to "United States")
  -zip <ZIP>          Postal Code
INFORMATION:
  -e        Show Elevation
  -h        Show Humidity #Depricated for now
  -v        Show Version information #Depricated for now
  -r        Show Rainfall predictions #Depricated for now
EXAMPLES:
  weathergo -key <api_key>
  weathergo -zip 80432 -key <api_key>
  weathergo -state California -city "San Francisco" -e
LICENSE

LICENSE

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址