Using both the Python API and via Curl, I have never got the renewable portion to work. I get a 500.
e.g. applying this diff to the Quick Start sample in the readme:
$ diff test-orig.py test.py
21c21
< metrics=[DataMetric.POWER, DataMetric.ENERGY],
---
> metrics=[DataMetric.RENEWABLE_PROPORTION],
Gives:
[2025-11-09 20:59:27] ERROR [openelectricity.client._handle_response:112] API error: 500 - Internal Server Error
Could you confirm getting renewable portion works and perhaps suggest a diff to the sample which also works?