Zeros at end of readings received
Just set up with the Glowmarkt API to get my home smart meter readings. I was previously using Octopus (and before that, n3rgy) but switched supplier so can't get access through them any more.
I managed to use Python to access the API. My code is here if anyone's interested: https://github.com/benshep/scripts/blob/master/get_energy_usage.py I used asyncio to do requests asynchronously (unlike other code that's been posted here - so it should be faster), and I probably need to write something to refresh the token periodically.
Found a slight issue: trying to fetch the most recent readings, there are always a set of zero readings at the end of the time series. I can filter these out, but it would be nice if these were returned as NaNs instead.