The Barista Logo

barista

An i3status alternative in golang

Download sample-bar Download i3status example View on GitHub

Dark Sky

godoc
import "barista.run/modules/weather/darksky"

Provides weather using the Dark Sky API.

Usage

weather.New(darksky.New("apikey").Coords(lat, lon))

where lat, lon are the latitude and longitude values. For longitude, negative values are west and positive values are east. For latitude, positive values are north and negative values are south.