title: How to use Google MyBusiness API in php
body: <p>I am using Google MyBsiness API for fetching all business reviews.
  But I am unable to familer with PHP syntax and GET, POST method use in MYBusiness.</p>
  
  <p>After Oath here are code i am using to fetch review</p>
  
  <pre><code>$mybusinessService = new Google_Service_Mybusiness($client);
  $accessToken = file_get_contents($credentialsPath);
  
  $reviews = $mybusinessService-&gt;accounts_locations_reviews;
  echo '&lt;pre&gt;';print_r($reviews-&gt;get('ArtechDev'));exit;
  </code></pre>
  
  <p>But i am getting error 404 (Fatal error:  Uncaught exception 'Google_Service_Exception' with message)</p>
  
  <p>I am sure that I don't know how to pass param and which things needed for it. I am logged in as account which having Location 'ArtechDev' also please
  let me know that where can i call </p>
  
  <p><a href="https://mybusiness.googleapis.com/v3/accounts/account_name/locations/location_name/reviews" rel="noreferrer">https://mybusiness.googleapis.com/v3/accounts/account_name/locations/location_name/reviews</a></p>
  
  <p>Thanks</p>