{"id":29585669,"url":"https://github.com/hendrixstring/google-glass-mirror-api-as3","last_synced_at":"2026-03-14T17:03:52.539Z","repository":{"id":25103419,"uuid":"28524659","full_name":"HendrixString/Google-Glass-Mirror-API-AS3","owner":"HendrixString","description":"Google Glass Mirror API implementation for AS3","archived":false,"fork":false,"pushed_at":"2016-02-22T08:10:31.000Z","size":310,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-20T02:57:23.258Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HendrixString.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-27T00:19:03.000Z","updated_at":"2024-06-03T17:14:44.000Z","dependencies_parsed_at":"2022-08-23T19:30:57.597Z","dependency_job_id":null,"html_url":"https://github.com/HendrixString/Google-Glass-Mirror-API-AS3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HendrixString/Google-Glass-Mirror-API-AS3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HendrixString%2FGoogle-Glass-Mirror-API-AS3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HendrixString%2FGoogle-Glass-Mirror-API-AS3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HendrixString%2FGoogle-Glass-Mirror-API-AS3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HendrixString%2FGoogle-Glass-Mirror-API-AS3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HendrixString","download_url":"https://codeload.github.com/HendrixString/Google-Glass-Mirror-API-AS3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HendrixString%2FGoogle-Glass-Mirror-API-AS3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27783957,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-17T02:00:08.291Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-20T02:16:29.838Z","updated_at":"2025-12-17T14:53:28.675Z","avatar_url":"https://github.com/HendrixString.png","language":"ActionScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google-Glass-Mirror-API-AS3\nThe `Google` Mirror API allows you to build services that interact with Google Glass. \nIt provides this functionality over a cloud-based API and does not require running code on Glass.\n\n\n## How to use\nsimply fork or download the project, you can also download the binary itself and link it\nto your project, or import to your IDE of choice such as `Flash Builder 4.7`.\n\n## Features\n- supports all of the methods of `RESTful` API.\n- an exact one-to-one API as the official `JAVA` and `C#` client.\n- all of the results are returned in corresponding typed data.\n- uses [`Hendrix HttP library`](https://github.com/HendrixString/Hendrix-HttP-AiR).\n\n## Guide\n1. I recommend the following official [Google Mirror api reference](https://developers.google.com/glass/v1/reference/).\n2. you will need to create a google app in the *Google App Engine* and activate Mirror API, and grab `Client ID` and `Secret`.\n3. then, you will need to download an `OAuth 2` token library for `AS3`. there are many at GitGub. I used [actionscript-oauth2](https://github.com/charlesbihis/actionscript-oauth2).\n4. simply create valid OAuth 2 tokens using the `Client ID` and `Secret` and a library you have chosen from step 3.\n\n###### TimeLine example: inserting a card with text and image.\n\n```actionscript\nprivate var _mirror: Mirror = null;\n\nprivate function init():void {\n    _mirror             = new Mirror();\n    _mirror.oauthToken  = \"ya29.7gBhg5ObSvi68Ncki43yAR23KnZahPQQ-A-D1VFbfPCPoFGGY59wdBBfBE0KK9T_8XYZ5lk9REZ9Kg\";\n}\n\nprotected function timeline_insert(dataImg: ByteArray):void\n{    \n    var item:TimelineItem = new TimelineItem();\n    \n    item.text             = \"hi\";\n    \n    _mirror.timeline.insert(item, dataImg).execute(req_onComplete, req_onError);\n}\n\nprivate function req_onComplete(res:TimelineItem = null):void\n{\n    trace(res.id);\n}\n\nprivate function req_onError(res:Object = null):void\n{\n  trace(\"error\");\n}\n\n\n```\n\n### Dependencies\n* [`Hendrix HttP library`](https://github.com/HendrixString/Hendrix-HttP-AiR)\n\n### Terms\n* completely free source code. [Apache License, Version 2.0.](http://www.apache.org/licenses/LICENSE-2.0)\n* if you like it -\u003e star or share it with others\n\n### Contact Author\n* [tomer.shalev@gmail.com](tomer.shalev@gmail.com)\n* [Google+ TomershalevMan](https://plus.google.com/+TomershalevMan/about)\n* [Facebook - HendrixString](https://www.facebook.com/HendrixString)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhendrixstring%2Fgoogle-glass-mirror-api-as3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhendrixstring%2Fgoogle-glass-mirror-api-as3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhendrixstring%2Fgoogle-glass-mirror-api-as3/lists"}