Documentation ¶
Index ¶
Constants ¶
View Source
const URI = "https://api.amber.com.au/v1/sites/%s/prices?resolution=30"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdvancedPrice ¶
type PriceInfo ¶
type PriceInfo struct { Type string `json:"type"` Date string `json:"date"` Duration int `json:"duration"` StartTime string `json:"startTime"` EndTime string `json:"endTime"` NemTime string `json:"nemTime"` PerKwh float64 `json:"perKwh"` Renewables float64 `json:"renewables"` SpotPerKwh float64 `json:"spotPerKwh"` ChannelType string `json:"channelType"` SpikeStatus string `json:"spikeStatus"` Descriptor string `json:"descriptor"` Estimate bool `json:"estimate"` AdvancedPrice *AdvancedPrice `json:"advancedPrice,omitempty"` }
Click to show internal directories.
Click to hide internal directories.