I assume you are worried about the cost of the API. If you check the conditions, you will see that you can use unlimited queries if you use the Google user interface (fragment). If you want to avoid many calls to the remote API, the easiest way is to call the REST service manually, but the quota is pretty thin (1000 requests every 24 hours), so you have to wrap the REST api inside the web service your own, and call it from the application. In addition, you must install caching on both sides (server and application), remember that google allows you to cache a request for places for 30 days. In this case, you may decide to call api when the user has entered a certain number of characters.
source share