esios

package
v0.0.0-...-d618ff0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const BaseURL = "https://api.esios.ree.es/archives/70/download_json?locale=es"

Variables

This section is empty.

Functions

func GetJson

func GetJson(url string, target interface{}) error

Types

type PriceData

type PriceData struct {
	Dia  string
	Hora string
	PCB  string
}

type PriceResponse

type PriceResponse struct {
	PVPC []PriceData
}

func GetPrice

func GetPrice() PriceResponse

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL