Hello.

Is it possible to get a list of places (cafes, restaurants, parks, etc.) nearby using the Google Map API after a user has entered his city and region? if not, are there any other options?

Thank you in advance!

    1 answer 1

    Sure you may. Here is a list of place types , and here is an example of a request in the documentation.

    https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=52.524580,13.395186&type=restaurant&rankby=distance&key=API_KEY 

    All you need is to make a request for obtaining latitude and longitude coordinates by the name of the city.

     https://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&key=API_KEY 
    • Thank you very much! - Hakob Shaghikyan