package
0.0.0-20221208151327-7ff3f7808ca3
Repository: https://github.com/otiai10/goapis.git
Documentation: pkg.go.dev

# README

OpenWeatherMap API Client for Go

Go codecov

package main

import (
  "github.com/otiai10/openweathermap"
)
func main() {
  client := openweathermap.New(API_KEY)
  res, _ := client.ByCityName("Tokyo")
  fmt.Println(res.Forecasts[0].Weather[0].Main)
  // Clouds
}