Skip to content

Instantly share code, notes, and snippets.

@adam-singer
Created August 17, 2013 17:01
Show Gist options
  • Save adam-singer/6257807 to your computer and use it in GitHub Desktop.
Save adam-singer/6257807 to your computer and use it in GitHub Desktop.
Example of how to use the mirror API to send your glass a url with https://developers.google.com/glass/playground
{
"kind": "mirror#timelineItem",
"id": "51e062f1-0aa7-4eaf-949e-d5fa6e1ade34",
"created": "2013-08-15T05:47:16.873Z",
"updated": "2013-08-17T05:48:39.025Z",
"etag": "\"qrqSPos28fIbIGMRUHRGC7DJpNM/7NN5LvTKra5Wkm2lMw4Z_lDpYNg\"",
"text": "http://www.google.com",
"menuItems": [
{
"action": "VIEW_WEBSITE",
"payload": "http://www.google.com"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment