title: Retrieve all localities and sub localities from given city google places API
body: <p>I am looking for a web service or a Google place API kind of plugin to retrive localities,sub-localities and areas of the given city name.</p>
  
  <p>have been trying my hands with google and geonames but can't able to get through it.</p>
  
  <pre><code>https://maps.googleapis.com/maps/api/place/autocomplete/json?input=hyderabad&amp;types=(locality)&amp;language=en_US&amp;key=My_KEY
  
  
  https://maps.googleapis.com/maps/api/geocode/json?/?address=hyderabad&amp;key=My_KEY
  </code></pre>
  
  <p>have tried these two ways. any help would be appreciated.</p>