Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roualdes/wx
Get NOAA weather.
https://github.com/roualdes/wx
Last synced: 23 days ago
JSON representation
Get NOAA weather.
- Host: GitHub
- URL: https://github.com/roualdes/wx
- Owner: roualdes
- License: other
- Created: 2015-04-23T01:39:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-27T04:08:08.000Z (over 8 years ago)
- Last Synced: 2024-04-14T12:48:46.125Z (7 months ago)
- Language: Go
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wx
`wx`(.go) is a command-line application that retrieves [NOAA](http://www.weather.gov) weather data.## Installation
Ensure Go is [installed](http://golang.org/doc/install.html) and your `PATH` includes the `$GOPATH/bin` directory```
export PATH=$PATH:$GOPATH/bin
```then install `wx` with
```
$ go get github.com/roualdes/wx
```## Getting Started
Only two commands are available `forecast` and `current`. Each command takes an optional argument `ZIPCODE`, a five digit ZIP code corresponding to the location of interest. Try```
$ wx current 40502
```If you don't specify a ZIP code, `wx` uses 95926. Print help with
```
$ wx help
```