{"id":19119518,"url":"https://github.com/sryze/amp-google-places-autocomplete","last_synced_at":"2025-10-10T13:34:08.481Z","repository":{"id":83572702,"uuid":"123843683","full_name":"sryze/amp-google-places-autocomplete","owner":"sryze","description":"Example implementation of a Google Places autocomplete for AMP pages","archived":false,"fork":false,"pushed_at":"2018-03-09T14:23:34.000Z","size":32,"stargazers_count":8,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-03T07:48:26.985Z","etag":null,"topics":["amp","autocomplete","google-places-api"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/sryze.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-05T00:41:59.000Z","updated_at":"2023-12-01T07:34:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"f63d13b4-e56f-4218-838a-e99f9de605c8","html_url":"https://github.com/sryze/amp-google-places-autocomplete","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sryze%2Famp-google-places-autocomplete","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sryze%2Famp-google-places-autocomplete/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sryze%2Famp-google-places-autocomplete/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sryze%2Famp-google-places-autocomplete/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sryze","download_url":"https://codeload.github.com/sryze/amp-google-places-autocomplete/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240172867,"owners_count":19759653,"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","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":["amp","autocomplete","google-places-api"],"created_at":"2024-11-09T05:09:51.876Z","updated_at":"2025-10-10T13:34:03.448Z","avatar_url":"https://github.com/sryze.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Places Autocomplete\n\nThis is just an example of how to implement an autocomplete list for an address input (in this\ncase cities) using AMP and Google Places Autocomplete APIs. It is based on the [Autosuggest](https://ampbyexample.com/advanced/autosuggest/) example.\n\n[Demo](https://amp-google-places-autocomplete.herokuapp.com/autocomplete.html)\n\n![Screenshot](screenshot.png)\n\nRequirements\n------------\n\n1. An API key for Google Places. You can get one here:\n\n   https://developers.google.com/places/web-service/get-api-key\n\n2. A custom endpoint to request autocomplete info from the \n   [Place Autocomplete API](https://developers.google.com/places/web-service/autocomplete).\n   This is necessary because `amp-list` requires a CORS endpoint and therefore the Places web\n   services can't be used directly because it doesn't allow your site's origin (not an expert\n   in CORS but that is how I understand it). \n   \n   For example, see [`autocomplete-api.php`](autocomplete-api.php). To run this script:\n\n   ```sh\n   cd amp-google-places-autocomplete\n   php -S localhost:3000\n   ```\n\n3. Google [requires](https://developers.google.com/places/web-service/policies#logo_requirements)\n   inclusion of a \"Powered by Google\" logo somewhere in the autocomplete dropdown. In this example\n   it's included at the bottom of the dropdown similar to the official (non-AMP) autocomplete\n   by Google.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsryze%2Famp-google-places-autocomplete","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsryze%2Famp-google-places-autocomplete","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsryze%2Famp-google-places-autocomplete/lists"}