National Grid ESO, in partnership with Environmental Defense Fund Europe, University of Oxford Department of Computer Science and WWF, have developed the world's first Carbon Intensity forecast with a regional breakdown.
The Carbon Intensity API uses state-of-the-art Machine Learning and sophisticated power system modeling to forecast the carbon intensity and generation mix 96+ hours ahead for each region in Great Britain.
This OpenAPI allows consumers and smart devices to schedule and minimize CO2 emissions at a local level.
Source: https://carbonintensity.org.uk/
Create a Python project to get CO2 emission data from the UK Carbon Intensity API.
Sample Json data:
{
"data":[{
"from": "2021-01-24T08:00Z",
"to": "2021-01-24T08:30Z",
"intensity": {
"forecast": 296,
"actual": null,
"index": "high"
}
}]
}
Sample Solution:
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer