go-calipower/README.md

631 B

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.