{"id":19809938,"url":"https://github.com/lewagon/google-place-autocomplete","last_synced_at":"2026-03-05T11:02:56.795Z","repository":{"id":22733195,"uuid":"26078168","full_name":"lewagon/google-place-autocomplete","owner":"lewagon","description":"Exemple of Google Place Autocomplete Javascript API","archived":false,"fork":false,"pushed_at":"2015-09-01T13:47:51.000Z","size":203,"stargazers_count":43,"open_issues_count":0,"forks_count":21,"subscribers_count":8,"default_branch":"gh-pages","last_synced_at":"2025-02-28T18:26:22.543Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.lewagon.org/blog/tuto-google-place-autocomplete","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/lewagon.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-11-02T11:04:06.000Z","updated_at":"2024-12-26T20:57:19.000Z","dependencies_parsed_at":"2022-08-21T10:30:10.850Z","dependency_job_id":null,"html_url":"https://github.com/lewagon/google-place-autocomplete","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lewagon/google-place-autocomplete","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewagon%2Fgoogle-place-autocomplete","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewagon%2Fgoogle-place-autocomplete/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewagon%2Fgoogle-place-autocomplete/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewagon%2Fgoogle-place-autocomplete/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lewagon","download_url":"https://codeload.github.com/lewagon/google-place-autocomplete/tar.gz/refs/heads/gh-pages","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewagon%2Fgoogle-place-autocomplete/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30121063,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T10:44:24.758Z","status":"ssl_error","status_checked_at":"2026-03-05T10:44:15.079Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-11-12T09:18:43.351Z","updated_at":"2026-03-05T11:02:51.772Z","avatar_url":"https://github.com/lewagon.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Place Autocomplete\n\nThis sample code show you how to quickly use the Places Autocomplete javascript\nAPI from Google.\n\n[See demo right now](http://lewagon.github.io/google-place-autocomplete)\n\n## Code\n\nLook at the [index.html](index.html) file, you'll see a very standard form.\nThe input with id `user_input_autocomplete_address` is very important as it\nis bound to an `autocomplete` object in the `autocomplete.js` code.\n\nThe code you see is not dependent on jQuery, also the `initializeAutocomplete`\nmethod has to be called when `google` is ready, not just when the DOM is ready.\n\n## API Key\n\nIn order to get a lot of requests for free to the API, you need to create a\nnew project under the [Google API Console](https://code.google.com/apis/console).\nFor this project, enable the Google Maps Javascript API v3:\n\n![](readme-images/enable-api.png)\n\nThen, for this project, create a new \"Browser Key\", the one you'll put in the\n`index.html` file when calling the `https://maps.googleapis.com/maps/api/js` script.\n\n![](readme-images/create-new-browser-key.png)\n\nMake sure to specify referers so that **only you** can use this key! Remember,\nyou API calls are limited per day.\n\n![](readme-images/key-referers.png)\n\n## Documentation\n\n[Full Reference](https://developers.google.com/maps/documentation/javascript/places-autocomplete)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flewagon%2Fgoogle-place-autocomplete","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flewagon%2Fgoogle-place-autocomplete","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flewagon%2Fgoogle-place-autocomplete/lists"}