Mirror HTTP Requests

The Mirror API is Google’s front-end web service for populating a user’s timeline, as well as allowing a user to interact with your web application with custom menu items or change notifications, like geolocation. For example, if your program issues an HTTP POST to the Mirror API’s /timeline, you’ll create a new item on a user’s timeline. The Mirror API informs the user’s Glass device of the update whenever the Glass device is connected to Wi-Fi. Although the Mirror API acts as a middleman, for the sake of simplicity you can think of calls to the Mirror API as interacting directly with a user’s Glass device. For all of resources we cover (not just the timeline) you will interact with them by making HTTP requests.

Glassware ...

Get Programming Google Glass now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.