Answers for "custom google reviews"

0

custom google reviews

<?php

$apiKey = "YOUR_API_KEY";

$ch = curl_init();

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, false);

$dataQuery = [
	'url' => 'https://www.yelp.at/biz/teddy-s-red-tacos-los-angeles-2',
	'type' => '',
];

curl_setopt($ch, CURLOPT_URL, 'https://app.reviewapi.io/api/v0/reviews?' . http_build_query($dataQuery));

curl_setopt($ch, CURLOPT_HTTPHEADER, array(
	"Content-Type: application/json",
	"apikey: $apiKey",
));

$responseData = curl_exec($ch);
curl_close($ch);

$resultData = json_decode($responseData);

var_dump($resultData);

?>
Posted by: Guest on May-13-2021

Code answers related to "custom google reviews"

Browse Popular Code Answers by Language