https://github.com/jochasinga/go-weather
Simple Go client package for interfacing with Yahoo Weather API
https://github.com/jochasinga/go-weather
Last synced: about 1 year ago
JSON representation
Simple Go client package for interfacing with Yahoo Weather API
- Host: GitHub
- URL: https://github.com/jochasinga/go-weather
- Owner: jochasinga
- License: mit
- Created: 2015-03-25T01:56:11.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-25T02:06:20.000Z (about 11 years ago)
- Last Synced: 2025-02-02T09:15:43.291Z (over 1 year ago)
- Language: Go
- Size: 133 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gotemp
=========
A simple package to return current temperature in Fahrenheit from Yahoo API.
Install
-------
```Shell
$ go get github.com/jochasinga/gotemp
$ go install github.com/jochasinga/gotemp
```
Examples
--------
Get a current temperature from New York City
```Go
package main
import (
fmt
temp "github.com/jochasinga/gotemp"
)
func main() {
mytemp := temp.Now("New York", "US")
}
```