openweathermap icon indicating copy to clipboard operation
openweathermap copied to clipboard

Go (golang) package for use with openweathermap.org's API.

Results 16 openweathermap issues
Sort by recently updated
recently updated
newest added

Consider the following example; ``` package main import ( owm "github.com/briandowns/openweathermap" "log" ) func main() { w, err := owm.NewCurrent("C", "en", "") if err != nil { log.Fatal(err) } err...

help wanted

Hi, this request add request to "hourly" weather (by step of 3 hours).

JsonUnixTime helper for that matter: ``` go type JsonUnixTime time.Time func (t JsonUnixTime) MarshalJSON() ([]byte, error) { return strconv.AppendInt(nil, time.Time(t).Unix(), 10), nil } func (t *JsonUnixTime) UnmarshalJSON(data []byte) (err error)...

It looks like OW stopped supporting 2.5 APIs for new users. As a result, when testing billykwooten/openweather-exporter/issues/39, I was getting invalid apis. Through debugging, I found that this library is...

When the HTTP call itself succeeds there is no error given while the action does fail. This happens when there is a non 2xx status code like when an invalid...

Hi there, Is there a way to get history aggregation defined on: https://openweathermap.org/api/statistics-api#resp-year Many thanks.