Questions tagged [google-places-api]

The Google Places API is a service that returns information about places using HTTP requests. Places are defined within this API as establishments, geographic locations, or prominent points of interest.

The Google Places API is a service that returns information about places using HTTP requests. Places are defined within this API as establishments, geographic locations, or prominent points of interest.

The Places API is also available with the Java Client, Python Client, Go Client and Node.js Client for Google Maps Services. The Places API and the client libraries are for use in server applications.

If you're building a client-side application, take a look at the Places SDK for Android, the Places SDK for iOS, and the Places Library, Maps JavaScript API.

Links

Related tags

4993 questions
28
votes
3 answers

Google places api restaurant types

When you search for a restaurant in Google places and go to the business profile (i.e.: https://plus.google.com/107507038669791289691/about?hl=en) the restaurant has a tag (in this case Mexican Restaurant). But when using the Google places api all I…
offex
  • 1,875
  • 5
  • 17
  • 27
27
votes
15 answers

Error inflating class android.fragment.app.FragmentContainerView, can someone tell me what I'm missing

I'm working on getting the Google Place API to appear within a CardView. The particular code I'm looking at is from GitHub, seems to be working for everyone else but I don't understand why it's throwing me an error. This is the error I am…
riizwaan
  • 315
  • 1
  • 3
  • 6
27
votes
9 answers

RuntimeExecutionException: com.google.android.gms.common.api.ApiException: 13: ERROR Places API

I am getting the following exception while trying out google places API to get likelihood places for Current Place in android. Process: me.nabeelkottol.linkedinplaces, PID: 2995 com.google.android.gms.tasks.RuntimeExecutionException: …
Nabeel K
  • 5,938
  • 11
  • 38
  • 68
27
votes
6 answers

To get more than 5 reviews from google places API

I am doing an application where I extract the google reviews using google places API.When I read the document related to it in "https://developers.google.com/maps/documentation/javascript/places",I found out that I could get only 5 top reviews.Is…
27
votes
2 answers

Turn AutoCompleteTextView into a SearchView in ActionBar instead

I have a AutoCompleteTextView which gives user auto-completion search result from Google Places API. Once I was done I discovered SearchView and how it can be placed in the ActionBar. I checked out the SearchView example provided by google and added…
theAlse
  • 5,577
  • 11
  • 68
  • 110
26
votes
9 answers

Android Google Places API, getAutocompletePredictions returns status 'PLACES_API_ACCESS_NOT_CONFIGURED'

I'm having problems with Android Google Places API - auto complete feature. I use the same key that i used for Android Google Maps API (and in the documentation, it is written this is ok). Here is my definition in manifest:
enver
  • 337
  • 1
  • 3
  • 10
26
votes
7 answers

How to clear the input bound to the Google Places Autocomplete?

Here is my issue: I am using Google Places Autocomplete to gather information about places from the user. On the event "place_changed", I save this information. However I want to give the user the possibility to add multiple places. So after this…
Tristan
  • 3,192
  • 3
  • 20
  • 32
25
votes
4 answers

Can I use the Google Places API to see a venue's busy hours?

When searching for a venue in Google, I can usually see the following bar graph displaying how busy the place is each hour: I am looking at the Google Places API docs, but cannot seem to find the relevant information.
Jacobdo
  • 1,681
  • 2
  • 18
  • 38
25
votes
4 answers

using enableAutoManage() in fragment

Is there another way to connect Google API client? I use auto complete places and I have to use this code some where in MYFRAGMENT mGoogleApiClient = new GoogleApiClient.Builder(MainActivity.this) .addApi(Places.GEO_DATA_API) …
25
votes
6 answers

Get city name and postal code from Google Place API on Android

I'm using Google Place API for Android with autocomplete Everything works fine, but when I get the result as shown here, I don't have the city and postal code information. private ResultCallback mUpdatePlaceDetailsCallback =…
Plumillon Forge
  • 1,659
  • 1
  • 16
  • 31
24
votes
7 answers

How to get 20+ result from Google Places API?

I am developing an app in which I am getting the list of ATM's near by the user. For that I am using Google Places API, but every time it returns 20 result only. I want to get more results. In the API doc it is mention that it will return 20 result…
Scorpion
  • 6,831
  • 16
  • 75
  • 123
23
votes
9 answers

Android studio can not resolve com.google.android.gms.location.places.AutocompleteFilter

I am trying to implement a autocomplete places search following this article. http://www.truiton.com/2015/04/android-places-api-autocomplete-getplacebyid/ I have followed all steps, and also added proper dependencies in my build.gradle…
23
votes
9 answers

Google Places API request denied for Android autocomplete, even with the right api key

I'm trying to make an Autocomplete field which should fetch cities as the user types, by using the Google Places API as described in this tutorial: https://developers.google.com/places/training/autocomplete-android You've probably found this…
Stefan Malacu
  • 243
  • 1
  • 2
  • 6
22
votes
5 answers

Using Google Places API in Android

I am trying to develop an app which can display the schools and airports in the locality. I found that using Google Places API is the way to go. I have seen the documentation here... Can anyone explain how to use the API?
Rahul Kalidindi
  • 4,666
  • 14
  • 56
  • 92
22
votes
1 answer

PlacePicker.getPlace() is deprecated

I'm trying to develop an application based on google place API. When I try to use Place place=PlacePicker.getPlace(data,this); there is an error showing getPlace() is deprecated. Please suggest a solution. Thanks in advance!
Sai Raman Kilambi
  • 878
  • 2
  • 12
  • 29