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.
google-places-api
5,039
questions
-3
votes
0
answers
15
views
Compliance Questions Regarding Google Places API Data Storage, Caching, Export, and Real-Time Transmission [closed]
I'm developing an application using the Google Places API with the endpoint: https://places.googleapis.com/v1/places:searchText. I have a few questions regarding compliance with Google Places API ...
0
votes
0
answers
19
views
Having trouble loading a createObjectUrl() image in React
In my express/react project, I'm using the google places api to get city images. I send the image to the client as a blob, then use URL.createObjectURL(blob) to convert it into a url.
express:
...
0
votes
1
answer
32
views
Where can I see usage (number of requests) for Places API?
I am trying to use free credit from Google and see that I am using 1£ for places API. In order to create limits I'd like to know exactly how many requests my app received, but cannot do it, I can see ...
1
vote
2
answers
45
views
How can I use Dart to save an image from an API request?
I am using Google Maps Places API to find images of nearby places. However, I find it very inefficient and more expensive to constantly be reloading images I've already loaded in the past by making a ...
0
votes
0
answers
12
views
Android Placesclient getting garbage collection error
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
if (!Places.isInitialized()) {
Places.initialize(this.requireActivity(), BuildConfig.MAP_API_KEY)...
-2
votes
1
answer
22
views
Google place API location base business info [closed]
I want to write an API that will receive notifications when a new business is added to Google Maps. Is this possible?
I have a company that sells through corporate activities. I want to send it as a ...
0
votes
1
answer
30
views
How to correctly type Google Places Text Search (New) requests/Responses in Node.js/TypeScript?
I’m working on a Node.js application using TypeScript, and I’m trying to integrate Google Places Text Search (New) API. I'm trying to ensure that my requests are properly typed but I am having trouble ...
0
votes
0
answers
23
views
Using Google Place Autocomplete API key on client side javascript for getting autocomplete suggestions for address autofill
I am developing a web application using HTML, CSS, Javascript as frontend and Django as backend python server. I have a form on the frontend side which consists of common address fields like street ...
-2
votes
0
answers
161
views
Google Place Autocomplete Widget Suggestions Items not clickable by mouse
I am experiencing an issue with selecting items in the suggestion dropdown of Google's autocomplete: when I click on them with the mouse, the item is not selected. The only peculiarity is that the ...
0
votes
0
answers
19
views
Using sessiontoken in Google Places API and flutter
I am using the Places API to fetch information about certain cities in my app.
Everything is working fine so far except for the billing view. I also use dio for the http requests.
Here is how I add ...
-2
votes
0
answers
29
views
GooglePlacesAutocomplete show Specific City Addresses in React Native?
how to show only specific city or any selected city addresses in GooglePlacesAutocomplete drop down list in React Native?
I want if user selects any specific city then only show selected city ...
0
votes
0
answers
17
views
How to resolve "'-[GMSPlacesServiceRequestTransformer transformURLRequest:]: unrecognized selector sent to instance 0x303c16f40'" error?
I upgraded to Google Places API version 9.0.0. I enabled the new API in my cloud.
My code compiled and I am able to see the view controller to search a place.
I can enter a place and select the place ...
0
votes
0
answers
17
views
Mapping between Google Place API business type and Google MyBusiness Profile business category
Is there a way to find the mapping between the Place API business type and the business category as shown on the MyBusiness Profile?
Trying to filter on a certain business type (restaurants) using the ...
-2
votes
0
answers
49
views
Restrict suggestion by city using Place Autocomplete Data API not working
I'm using Google Place Autocomplete Data API to create my own autocomplete https://developers.google.com/maps/documentation/javascript/place-autocomplete-data. I've created a code based on ...
0
votes
0
answers
47
views
API to get list of paces id (all shops) in a shopping mall
I need to get the list of shops(place ids) in a shopping mall.
I am trying to use the api,
https://places.googleapis.com/v1/places:searchText
with payload,
{
"textQuery": "...
0
votes
1
answer
138
views
Choosing fields to return with Places API (new) client library
The official documentation of Places API client library (for GetPlace) has a sample usage of the client library as below
import com.google.api.core.ApiFuture;
import com.google.maps.places.v1....
0
votes
0
answers
19
views
How to filter Google Places API autocomplete results before displaying them to the user? [duplicate]
I am working on a web application that uses the Google Places API to provide address suggestions for postal codes and towns. I need to filter the autocomplete results based on a specific regex pattern ...
0
votes
1
answer
36
views
react-native-google-places API not working inside a <Modal>
my API working fine in my screen page, but I would like to work it inside a
No idea why inside a modal appear just the text input without the placeholder, we can type something but the autocomplete ...
0
votes
0
answers
15
views
How to know the property type from a place returned from Google Autocomplete API
Background: I run a small e-commerce website. One of our features is using the Google Autocomplete API to help customers simplify the address input process and increase address accuracy. This feature ...
1
vote
1
answer
34
views
How can I identify which code in my Android application initiates the creation of threads using the Android Profiler
I am working on a plugin-based application which has different plugins. Each plugin is independent of the others. I am also using the Google Places API as a plugin in it. There is an option to refresh ...
-1
votes
1
answer
21
views
How do I add the languageCode to a new Google Places API request?
I am struggeling to send the languageCode in the API request for the Google Places API (new).
I have scoured the article Google provided for any information, but could not find any.
Here is the ...
0
votes
0
answers
62
views
Can't set up google API
When I set up the Google Places API, I received a promotion that was only available for India. Since I'm in Vietnam, I chose the standard option.
enter image description here
but it didn't accept my ...
0
votes
1
answer
87
views
GCP - Use Restricted Maps API Key via Private Google Access
I have a private GKE cluster running a service that is attempting to use the Google Places API. I have created an API key and configured my cluster's NAT IPs (which are static) as permitted IPs that ...
-1
votes
1
answer
100
views
How do i link the 2024 Google Places API to google sheets to get the details for places?
I have a list of restaurants in google sheets that I have been to and I want to retrieve the reviews or the ratings for the restaurants through the Places API(New). How can I create code that loops ...
0
votes
1
answer
47
views
Unable to find nearby places in android studio using Java
I am working on an Android project and I want to search for nearby places(for example hospital), but this code doesn't work.
From what I saw in debugging mode, it skips this line: placesClient....
0
votes
0
answers
24
views
Google Places iOS SDK Uses Broken Cryptography API (MD5)
I'm using the Google Places SDK on my iOS Application. I ran a dynamic security scan and it identifies that Google Places uses MD5 hashing functions which have been deprecated since iOS 13.
...
0
votes
0
answers
40
views
flutter_google_places freezes screen (Flutter)
I have the following floating button working with flutter_google_places:
FloatingActionButton.small(
heroTag: 'places2',
onPressed: () async {
final sessionToken =...
0
votes
1
answer
113
views
Sending a request with httr2: JSON body contains a nested JSON input
In the below example i am using Google Maps Places API's (new) Text Search (new) request method. See here more information about this API method.
Basically i am starting to have problems when the JSON ...
0
votes
1
answer
105
views
Google Maps Places URL not found on Android Google Maps
If I open this link on any browser the Google-place-id search works perfectly:
https://www.google.com/maps/place/?q=place_id:ChIJJcSdk7-Zc0cRIgxgLHUWgzE
Nevertheless if I try to open that link on my ...
-1
votes
1
answer
96
views
Is there a Google Places API (New) SDK in Java?
I am already using the old Places Details SDK in Java. I read on Places Details API (New), but I did not see any pointers on a java SDK. The examples on Google refer to curl API requests. Anyone has a ...
0
votes
1
answer
479
views
Making a Post Request to Google Maps Places API (New) with Python
I am trying to retrieve data from google's 'NEW' Places API for google maps, specifically the New Nearby Search API. I have a working API Key (well it works with the old Places API, I don't believe i ...
0
votes
1
answer
28
views
Unable to replace address values of a dataset using Places API
I had a problem with replacing the original values of the address column with the address I get from Places API response. Even though the code and its responses were smooth-sailing, something must ...
0
votes
1
answer
101
views
Google Places throws error: Could not resolve all files for configuration ':app:debugRuntimeClasspath'
I am attempting to use the Google Places API to use within my app. So far, I have gone through the entirety of the Google Places API Documentation exactly, found here, and have not made any progress.
...
0
votes
0
answers
30
views
GooglePlacesAutocomplete onpress event not working
During the text change, I can see all the suggested addresses that means the key is working as expected, however when I select and pressed the item nothings happen. The data did not show even I tried ...
0
votes
0
answers
48
views
get hospital count in a city using google maps API
I am trying to use google maps api to get a list of all hospitals in a city. But how can I create a "radius" or "bounding box" or a city, for example Munich, Germany? When I search,...
0
votes
0
answers
68
views
Can't figure out how to get all the functionality of google api reviews
There are docs online that show that I should be able to access all of my businesses google reviews through the api, select specific reviews, reply to reviews, and delete replies all through the ...
0
votes
1
answer
127
views
Getting this error with Places API "Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'fE')"
I am having the issue when I try and use the Places API for address autocomplete in React with ts. When I run the project again the address autocomplete does fill out the address forms correctly but ...
0
votes
1
answer
180
views
Flutter Google Places API Authorization Error
I have a Flutter application that utilizes Google Maps for displaying maps and making calls to the Places API to retrieve nearby stores based on the user's location. During development I did not ...
0
votes
0
answers
103
views
Trying to use google map places api with usePlacesAutoComplete in NEXT.js project but getting InvalidKeyMapError
I tried my api key with the maps api and it worked fine, the api key I'm using is unrestricted and has the places api enabled. Every time I run the code I get an invalid api key error. I am at a lost ...
0
votes
0
answers
25
views
how to request for license=cc0 photos by places api
I use the api https://places.googleapis.com/v1/places:searchText to get an array of places.
By these results I use
https://places.googleapis.com/v1/photos[0].name /media?maxWidthPx=374&...
1
vote
1
answer
47
views
Places Autocomplete Only Return Residential Street Addresses In The US
we are attempting to use the new google places api text search to return suggested address completion results as a user types within an input field.
For example, user types In 545 Smi... and 454 Smith ...
0
votes
1
answer
174
views
React google places autocomplete returning only one place (Needing zip)
I'm attempting to use react google autocomplete, the issue I'm having is that for some reason both libraries react-google-places-autocomplete and react-places-autocomplete always return a single value ...
0
votes
1
answer
140
views
Implementing Places Search Box in ReactJS
I need to implement the Google Places Search Box using the Google Place Autocomplete feature as it is shown here. And it should be allow the user to select a location from the search box.
The sample ...
0
votes
0
answers
35
views
Get business rating over Google places API in Javascript (Client-Side)
I need to get a rating of a client and add it to a div. But i get an error in the console. How can i do this easily?
My Code:
/***** GOOGLE MY-BUSINESS / PLACES-DATA *****/
const apiKey = 'KEY-pHws-...
0
votes
1
answer
85
views
I want to filter Google places autocomplete suggestions only for India in Next Js
I am using the react-places-autocomplete package in my next js project, and I want to filter out the suggestions only for India. I don't want to show any location of other countries to my users.
I ...
0
votes
0
answers
75
views
AndroidStudio - Apps built on ARM processors are functionally different from Intel with same codebase
This week I received a new work laptop MBP M3 Pro. I have been using a MBP i7 for the last few years. I am currently working on a project that completely works when ran from the Intel machine but does ...
-2
votes
1
answer
34
views
Error retrieving place ID. Response code ZeroResults
We use the Google Places API and on 2/14/2024, we received about 100 Error retrieving place ID. Response code ZeroResults. Does anyone have any idea what that means?
We researched a few of them that ...
0
votes
0
answers
35
views
Google Places rejection iOS
I am in the middle of developing an iOS app where there is a request to Google places and the results are displayed. Here is the code for fetching the information:
func fetchPlaceDetails(placeId: ...
0
votes
0
answers
69
views
Google Places API - Passing Multiple "Types" into the Autocomplete Function
I'm using the Autocomplete function with the Google Places API but when typing into the autocomplete form field I have, I'd like to filter by home and business addresses, so it would enable me to type ...
0
votes
1
answer
184
views
How to Embed google review in Django website?
I was going through the Google Cloud Platform Console to find out how I could embed a Google review on my Django website. I found the Google Places API to be the most relevant (not quite sure), but ...