Building WattDepot REST API

After getting the simple ping server working with Restlet, last week I turned my attention to the WattDepot REST API, since the API drives the functionality that I will be implementing. Staring at the blank wiki page, I turned to the O’Reilly book RESTful Web Services (link to book content via Safari Books Online for UHM folks). The book is an excellent introduction into why REST makese sense for web services, and goes step by step through the process of designing web services using their Resource Oriented Architecture. So I spent a lot of time reading the book to see examples of how to turn requirements into a ROA API.

There is now a REST API wiki page for WattDepot, but it’s mostly requirements at this point. This week I plan to crank out a first draft of the API, so I can start implementing it ASAP.

There are now 4 weeks left before the semester starts. I’d like to have data persistence, a client that can retrieve Obvius meter data and send to WattDepot, and Google gadget visualization working by then, so my work is cut out for me.

Plans from last week:

  • Read through sensorbase REST API
    • done
  • Start work on WattDepot REST API
    • done
  • Read up on Google Visualization data source library
    • not done
  • Write down initial thoughts on research questions
    • not done

Other accomplishments from last week:

  • Read through first 6 chapters of RESTful Web Services
  • Attended the TechHui conference. There was a lot of good info about renewable energy development, and other tech goodness.
  • Found one more small bug in Hackystat build files, now they should really really be stable 🙂
  • Attended UH SecondLife gettogether, complete with live DJ and dancefloor. It was fun, but I still don’t see myself spending any significant time in SL.

Pointers to work products:

Plans for this week:

  • Finish first draft of WattDepot REST API
  • Follow up on some contacts from Tech Hui conference
  • Read up on Google Visualization data source library

Cool links:

  • Damon Hart-Davis (creator of the site I mentioned last week) has pointed out that Ecotricity (a UK utility) has similar carbon intensity data on their web page. This is precident for utilities sharing this kind of data.
  • Blue Mars is a new massively multi-player online virtual environment like Second Life, being developed in Honolulu. The graphics are far superior to SL, and the business model is interesting in that they are specifically designing it around making it easy for content developers to make a living creating content for Blue Mars. They are also hoping to attract indie game developers to rent out a city block of space where they can create their games with autonomy and make money from it. They are taking beta applications for the client now, but if you are a developer you can get the dev kit right now at their developer website.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s