title: API to get all the reviews and rating from Google for business
body: <p>I am using the Google Maps API to get the reviews and ratings for a company.</p>
  
  <p>Step 1: HTTP Request to get the reference Id.</p>
  
  <pre><code>$url = 'https://maps.googleapis.com/maps/api/place/textsearch/json?query='.&lt;CompanyName&gt;.'&amp;sensor=true&amp;key='.&lt;apikey&gt;;
  </code></pre>
  
  <p>After HTTP request I am getting referenceId of business.</p>
  
  <p>Step 2: HTTP request to get the reviews.</p>
  
  <pre><code>$url = 'https://maps.googleapis.com/maps/api/place/details/json?reference='.&lt;referenceId&gt;.'&amp;key='.&lt;apiKey&gt;
  </code></pre>
  
  <p>With the above, I am getting the "most helpful reviews" and a maximum of 5 reviews.</p>
  
  <p>So I want to get all the reviews or the latest reviews. Do I need to add a parameter?</p>