Reputation: 465
I am creating android app and I have to implement maps and places so, I have created new google places API and when I send request using volley to get placeId from latitude and longitude I get error which says
{"error_message":"You have exceeded your daily request quota for this API.","html_attributions":[],"results":[],"status":"OVER_QUERY_LIMIT"}
But it is working fine on postman so, how can I fix this?
P.S. I am beginner so please correct me if there is any mistake in my process. Thank you.
Upvotes: 1
Views: 675
Reputation: 663
I believe Google's terms of service is restricting use of Place API from client application i.e your android app. I also have seen this in other question's comment. (As Troy Perales also has mentioned)
For tutorials or example for implementing Google API click here
and here. These are Codelabs examples on implementing Google Places API.enter code here
And here's Places Docs
I hope this helps you.
Upvotes: 2
Reputation: 189
When developing for Android, Google recommends using the Places SDK for Android (https://developers.google.com/places/android-sdk/intro) instead of the Places API (https://developers.google.com/places/web-service/intro) because it is free and has generous usage limits. See https://developers.google.com/places/android-sdk/usage.
Upvotes: 1