Yvan L.
Yvan L.

Reputation: 162

How to deal with places datas without storing them?

Google Maps API TOS don't allow to store in a database any other information than the ID or Reference of a place. So, should we make a new API query every time we need a detail information such as city or country?

If for example I use the API to get the current location of a user through an autocomplete field. I only store the ID or reference? I can not store the country, the city in order to then make queries in my database to know all users from a city or country?

Upvotes: 1

Views: 611

Answers (1)

DaveS
DaveS

Reputation: 3294

You can definitely "store" the extra country/city information for the current session. That's not what Google's terms of service are trying to prevent. They just don't want you to store their data in a database permanently.

Upvotes: 1

Related Questions