Get available capacity, estimates, and reserves from California ISO
Go to file
2024-02-20 19:11:42 +00:00
test fix: update import dir and swap to godoc badge 2024-02-20 10:40:39 -08:00
.gitignore chore: remove legacy gitignore 2024-02-20 10:40:20 -08:00
getdata.go fix: squish a slew of bugs 2022-09-05 15:25:50 -07:00
go.mod fix: update import dir and swap to godoc badge 2024-02-20 10:40:39 -08:00
LICENSE chore: migrate to SRHT 2023-04-04 19:54:18 -07:00
README.md fix: wrong repo on godoc badge image URL and docs URL 2024-02-20 19:11:42 +00:00

go-calipower Go Documentation

Get available capacity, estimates, and reserves from California ISO.

Usage

package main

import (
	"fmt"
	"log"
	"strconv"

	"git.lmao.ch/doa/go-calipower"
)

func main() {
	data, err := calipower.GetPowerData()
	fmt.Printf(strconv.Itoa(data.CurrentReserve))
}

Better example can be found in test/test.go.

Acknowledgements

Data is collected from FlexAlert.org, a website run by the California ISO. Data is meant to be used within the allowance of the California ISO.