Skip to content

dschanoeh/go-owm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-owm

Travis (master)

go-owm is a library for the OpenWeatherMap "One Call API", providing current weather as well as hourly and daily forecasts. See the OWM API documentation for a description of the provided elements.

Usage

import (
    "fmt"
    "github.com/dschanoeh/go-owm"
    )

func main() {
    w, err := owm.GetWeather(52.41467, 10.74063, "OWM_API_KEY")

    fmt.printf("The current temperature is: %f", w.Current.Temperature)
}

About

A go library for the OpenWeatherMap One Call API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages