Reputation: 969
how to use this link to return json format for the results, I already have an Server Key but it keep saying that "This IP, site or mobile application is not authorized to use this API key."
Upvotes: 3
Views: 2853
Reputation: 2737
Now hit the url voila it works!!!
Upvotes: 1
Reputation:
The official way to integrate Google Places API is through the Android implementation. You could use the PlacePicker which takes care the most but if you have a need that it doesn't fill, then you could integrate just the Place Autocomplete to your own UI.
Having said this if you would insist using the service url directly in an Android app, then you would need to configure a Browser Key in the Google Developer Console.
Upvotes: 5
Reputation: 157467
You shouldn't. Android has its own way to query places through the GooglePlayApiClient (read more here). You still want to use the web service you need a server key. From the documenation
Note: The Google Places API Web Service does not work with an Android or iOS API key.
you can get the key here. Please, note that key has a limitation of 15k text searches per day. If you need more you will have to apply for a premium plane
Upvotes: 3