This is simple tool to fetch Nordpool price data.
I started this to learn go and wanted to make small simple product so I can see end.
There isn't anything fancy in this.
go run .
This will generate config file in $XDG_CONFIG_HOME/epri/config.toml or
~/epri/config.toml if you don't have $XDG_CONFIG_HOME.
This behaviour can be overridden with env variable EPRI_CONFIG (this is needed for for non *nix OS)
currency = 'EUR'
location = 'FI'
subunit = true
tax = 25.5currency possible values:
EURNOKDKKSEKPLN
location possible values:
FIDK1DK2NO1NO2NO3NO4NO5SE1SE2SE3SE4
subunit possible values:
with this you can manage will you show price in full unit, or in subunit (ex: Euro, or Cent)
truefalse
tax:
You can add to this tax percentage.