title: How to get all populor Places having highest rating From google places API
body: <p>I want to get all populor places from google places API sorted ascending order having Highest rating. (nearbysearch of houston U.S lat = 29.760193 , lng =  -95.36939)
  I tried this </p>
  
  <pre><code>https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=29.760193,-95.36939&amp;rankby=prominence%20&amp;types=food&amp;sensor=false&amp;key=AIzaSydfgfdgdfgdfgdfgdgdfgcDBuNWG4
  
  
  note: rankby=prominence
  </code></pre>
  
  <p>but it gives out put like this</p>
  
  <pre><code> {
     "html_attributions" : [],
     "results" : [],
     "status" : "INVALID_REQUEST"
   }
  </code></pre>
  
  <p>but it gives me valid out when <code>rankby=distance</code></p>
  
  <p>where Im doing wrong.</p>
  
  <p>I want all populor places having highest rating first. </p>