There is no need to use a KML file, we can directly access the Google Places API. The Google Places API response consists of all (actually a maximum of 20) places around your current location. sample url request as below.
https://maps.googleapis.com/maps/api/place/search/json?location=-33.8670522,151.1957362&radius=500&types=food&name=harbour&sensor=false&key=AIzaSyAiFpFd85eMtfbvmVNEYuNds5TEF9FjIPI
The response may be in Json or XML, depending on the response we are requesting.
source share