Skip to content

niwla23/smard-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smard-go

go module to fetch energy data for germany from smard.de

example

got, err := GetProductionForecastData(time.Date(2022, 9, 10, 0, 0, 0, 0, time.Local), time.Now())

this gets the production data from 9-10-2022 to now. The data is returned as a slice of ProductionDataRow. Look at smard.go for available fields.

publishing

create a tag with the new version in git

publish package with

GOPROXY=proxy.golang.org go list -m github.com/niwla23/smard-go@TAG

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages