Documentation ¶
Index ¶
Constants ¶
View Source
const ProductURI = "https://api.octopus.energy/v1/products/%s/"
ProductURI defines the location of the tariff information page. Substitute %s with tariff name.
View Source
const RatesURI = ProductURI + "electricity-tariffs/E-1R-%s-%s/standard-unit-rates/"
RatesURI defines the location of the full tariff rates page, including speculation. Substitute first %s with tariff name, second with region code.
Variables ¶
This section is empty.
Functions ¶
func ConstructRatesAPI ¶
ConstructRatesAPI returns a validly formatted, fully qualified URI to the unit rate information.
Types ¶
Click to show internal directories.
Click to hide internal directories.