i am about to use Google Places api in my project but i have a problem. It's ok when searching city and all cities have unique id in search results as expected and i can save my entries to my database with the city id from google places api.
But when searching with country name, google finds and returns also unique id. So how can i list my entries with unique city ids belonging to that country when a country searched. If all cities and countries were kept in my db, that was no problem but i can see Airbnb also uses Places Api and you can search country and they list entries with cities belonging to that country.