An open API service indexing awesome lists of open source software.

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

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")
}

```