Skip to content

PauliusLozys/meteolt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

meteolt

Meteo.lt API library for go.

Install

go get github.com/PauliusLozys/meteolt

Example

import (
	"context"
	"log"

	"github.com/PauliusLozys/meteolt"
)

func main() {
	forecast, err := meteolt.GetWeatherForecast(context.Background(), "kaunas", meteolt.ForecastTypeLongTerm)
	if err != nil {
		log.Fatal(err)
	}

	log.Println(forecast.Place.Name)
}

Meteo LT API documentation

https://api.meteo.lt/

CLI TOOL

Separate CLI tool which displays weather forecasts in a table format find here.

Releases

No releases published

Packages

No packages published

Languages