Crate carbonintensity
source ·Expand description
API for retrieving data from the Carbon Intensity API https://api.carbonintensity.org.uk/
Structs
Enums
- An error communicating with the Carbon Intensity API.
Functions
- ISO8601 format YYYY-MM-DDThh:mmZ but tolerates YYYY-MM-DD https://api.carbonintensity.org.uk/regional/intensity/2023-05-15/2023-05-20/postcode/RG10
- Return a vector containing the intensity measures per 30 min window for a given region
- Current carbon intensity for a postcode
- Current carbon intensity for a region The region id is a number between 1 and 17