Week 8 - Prototyping APIs
Centre for AI & Climate
Connecting capabilities across technology, policy, & business to accelerate the application of AI to climate challenges.
We're still in the summer holiday period here at the Centre for AI & Climate, so you have me (Steve) writing these for a change, whilst Jon takes a short break.
This week we have something a bit different to talk about, as we've pen to paper - well, keyboard to editor - and actually built something of a prototype.
We’ve had a lot of conversations and done a lot of research since the start of the project, trying to find the right overlap between what users have told us they need and what is possible with data that exists today. As Jon has covered in previous weeks, it's been a tricky cycle of seeing potential in the data, but hunting for the killer use case that would tell us what to build to make the most of it.
With our first prototype, we've taken a slightly different track of meeting the data where it is today and trying to make the most of it, while keeping users' options open on exactly how to use it.
The basic idea is this:
What we’re proposing is basically bringing all this stuff together: energy consumption, building performance and low carbon technologies. Doing the hard work of collating everything to the grid topology and other spatial aggregations, so that we unlock the potential of the smart meter data.
We've put all our ideas together for this as documentation for a hypothetical API that could serve this data, which you can see here:
领英推荐
This is a really neat way of prototyping something that looks and feels real enough to get useful feedback, but is also quick and easy to change. It also happens to be generally accepted best practice: outside-in or API-first design, win-win!
The prototype we’ve put together is a REST API. This might not be the best or only way we share this data in the future, but it seemed a good way to try to explain the concepts and possibilities initially.
We know there are some obvious things missing, like metadata about provenance, freshness and the processing we’ve done - you can assume we’ll flesh that kind of stuff out in due course.
We’ve also been intentionally broad in the options the API supports - it’s designed as a generic repository that we could load lots of different kinds of data into in the future, from lots of different sources. It’s probably way too much work for a small team to build everything here.
We'd love to get your feedback on this and see if we've hit upon anything useful:
Until next week!
Steve