UPDATED 14:36 EST / APRIL 18 2013

NEWS

Inspecting Google Glass Mirror API

Google recently released the Mirror API for its much-awaited project, Glass. Ever since the Glass project came in news, most of us have been wondering about the possible applications and interactions with Google Glass. With this Mirror API documentation, Google tells developers how to interact with Glass.

Basically, this API that lets you build Web based interactions, called Glassware, with Google Glass by calling different RESTful endpoints. So, what’s the USP? It’s that this functionality doesn’t need that you run any code on Glass itself, since all interactions are done via RESTful endpoints.

Google’s comprehensive API reference and guide provides five major features, include:

  • Managing timeline cards: You can insert and manage timeline items, including attachments;
  • Interacting with menu items: You can specify menu items on timeline cards that you create;
  • Subscribing to timeline notifications: You can subscribe to notifications of actions and location changes;
  • Working with user location: You can read the current location and subscribe to location changes;
  • Sharing to contacts: Allow you to share timeline items between different Glassware.

Some API Usage Stories are also available to have a better overview.
A good thing about the Quick Start guide is that it allows you to see a demo of fully deployed version of the starter project to get an idea of how it works. Once you’re ready, you can download and deploy your own quick start project and start modifying it for your Glassware. Google is offering ready to use code in both Java and Python. Though examples are not available in other programming languages, but it’s fair as it’s just the version 1. Full client libraries are available in other languages, like PHP and Ruby.
An interesting playground is also available where you can experiment with different API calls and see the results right away on your browser. If you link your Google Glass account you’ll also be able to interact with your device.

The Glass Mirror API uses OAuth as its authorization scheme and lets you specify different scopes depending on the level of access your application needs, e.g., manipulating the timeline, accessing location information, or reading user information, among other things (in sync with the features we mentioned above).

Google has also provided a complete set of guidelines that great Glassware follows that help you through all phases and aspects of your Glassware development.

In nutshell, the Mirror API is well laid out, properly documented and comes with multiple client libraries. I particularly loved the playground where things can be quickly tested. Let’s see when Glass will be available to the public and what kind of applications will integrate with it.


A message from John Furrier, co-founder of SiliconANGLE:

Your vote of support is important to us and it helps us keep the content FREE.

One click below supports our mission to provide free, deep, and relevant content.  

Join our community on YouTube

Join the community that includes more than 15,000 #CubeAlumni experts, including Amazon.com CEO Andy Jassy, Dell Technologies founder and CEO Michael Dell, Intel CEO Pat Gelsinger, and many more luminaries and experts.

“TheCUBE is an important partner to the industry. You guys really are a part of our events and we really appreciate you coming and I know people appreciate the content you create as well” – Andy Jassy

THANK YOU