API to get all the reviews and rating from Google for business
问题 I am using the Google Maps API to get the reviews and ratings for a company. Step 1: HTTP Request to get the reference Id. $url = 'https://maps.googleapis.com/maps/api/place/textsearch/json?query='.<CompanyName>.'&sensor=true&key='.<apikey>; After HTTP request I am getting referenceId of business. Step 2: HTTP request to get the reviews. $url = 'https://maps.googleapis.com/maps/api/place/details/json?reference='.<referenceId>.'&key='.<apiKey> With the above, I am getting the "most helpful