Reputation: 862
I am working on Android Google maps application but the query string i am using to get results of places near by the user is not working.
http://maps.googleapis.com/maps/api/place/search/json?location=123.666,33.166&radius=50000&sensor=false&types=establishment&name=hotel&key={myKey}
I am using this link to obtain a Maps API key.
here is the response i am receiving.
{
"html_attributions" : [],
"results" : [],
"status" : "REQUEST_DENIED"
}
Thanks
Upvotes: 0
Views: 3382
Reputation: 1972
You need to generate the Places API key via: https://code.google.com/apis/console/
More on this under: https://developers.google.com/places/documentation/#Authentication
HTH
Upvotes: 3
Reputation: 1383
I'm quite sure you are using a wrong/old key. Lokk at your link, it's over 3 years old. Better try this way to obtain a new key: Obtaining a Google Maps Android API Key. This is the official site.
Upvotes: 0