carbon-aware-sdk icon indicating copy to clipboard operation
carbon-aware-sdk copied to clipboard

[Feature Contribution]: Add extended forecast horizons for the ElectricityMaps API

Open unitrium opened this issue 9 months ago • 3 comments

What happened?

The ElectricityMaps API now supports up to 72 hours forecasts in the future. This is enabled by passing the optional argument horizonHours to an API query. https://portal.electricitymaps.com/docs/api#carbon-intensity-forecast

The idea would be to add the possibility to pass this optional argument to API calls to the ElectricityMaps API and get longer forecasts.

cc @jbdietrich @lav-julien

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

Feature Commitment

  • [x] I commit to contributing this feature as a PR and working with the GSF to merge this feature into the Carbon Aware SDK.

unitrium avatar Feb 28 '25 14:02 unitrium