{"id":15483770,"url":"https://github.com/filledstacks/places_service","last_synced_at":"2025-04-22T16:21:34.088Z","repository":{"id":38387670,"uuid":"364252429","full_name":"FilledStacks/places_service","owner":"FilledStacks","description":"a wrapper for the places functionality to improve the usability of it","archived":false,"fork":false,"pushed_at":"2024-05-16T21:25:47.000Z","size":178,"stargazers_count":11,"open_issues_count":8,"forks_count":20,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-16T06:43:46.506Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FilledStacks.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2021-05-04T12:43:04.000Z","updated_at":"2023-09-23T06:36:44.000Z","dependencies_parsed_at":"2024-10-02T05:20:52.868Z","dependency_job_id":"86004de0-39b4-4297-9a55-b5146b60c5ec","html_url":"https://github.com/FilledStacks/places_service","commit_stats":{"total_commits":13,"total_committers":4,"mean_commits":3.25,"dds":0.6923076923076923,"last_synced_commit":"6c1d70f45470802d6845fefbfdb8ca52a365fd85"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilledStacks%2Fplaces_service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilledStacks%2Fplaces_service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilledStacks%2Fplaces_service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilledStacks%2Fplaces_service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FilledStacks","download_url":"https://codeload.github.com/FilledStacks/places_service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250275553,"owners_count":21403680,"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":[],"created_at":"2024-10-02T05:20:44.834Z","updated_at":"2025-04-22T16:21:34.055Z","avatar_url":"https://github.com/FilledStacks.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Places Service\n\nA service that Wraps the Google places Api through the google_maps_webservice package and provides an easy interface to work with and handle in your code.\n\n## How To use\n\n### Initialise\n\nTo start off you have to call initialise an pass in your api key\n\n```dart\n   _placesService.initialize(\n      apiKey: 'PUT_YOUR_KEY_HERE',\n    );\n```\n\nIf you're using the setup recommended by FilledStacks this can be done in the `StartUpViewModel`. \n\n### Get Automcomplete Suggestions\n\nWhen this is complete you can get your Suggestions for an address using the `getAutoComplete` function.\n\n```dart\nfinal autoCompleteSuggestions = await _placesService.getAutoComplete('cape town');\n```\n\nThat will return a list of auto complete suggestions to you.\n\n### Get Places Details\n\nOnce you have the places id you want to get you can make a request to `getPlaceDetails` to get all the details google has available for that place. \n\n```dart\nfinal placeDetails = await _placesService.getPlaceDetails('ID_FROM_AUTO_COMPLETE');\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilledstacks%2Fplaces_service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilledstacks%2Fplaces_service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilledstacks%2Fplaces_service/lists"}