The Mirror service allows you to use the Google Mirror API in Apps Script. This API gives users the ability to interact with Google Glass.
Reference
For detailed information on this service, see the reference documentation for the Google Mirror API. Like all advanced services in Apps Script, the Mirror service uses the same objects, methods, and parameters as the public API.
To report issues and find other support, see Google GDK on Stack Overflow.
Sample code
The sample code below uses version 1 of the API.
Insert timeline item
This sample inserts a new item into the timeline.
Insert contact
This sample inserts a new contact.
Get latest location
This sample prints the most recent known location of the user's Glass to the script editor's log.