Energy Consumption - Provider APIs (Octopus)

Hi

I’ve been looking to integrate my home smart meter - and I know from reading around that this is currently not possibly in the UK as the smart meters do not have open APIs. However, I do know that some providers are opening APIs so that you can pull this data.

Example from Octopus: Sign in to your account

They provide an API to pull daily electricity and gas usage directly from the supplier.

Is it possible to provide an integration for this?
Someone has already created a website that pulls the data and creates a number of graphs etc:

It’s a rest api according to this: Octopus Energy APIs — Octopus Energy API 1.0 documentation

So you can use the rest integration: