Wallogit.com
2017 © Pedro Peláez
A Simple Package for getting home worth using the Zillow API and displaying the Property Image by Using Google Map.
A Simple Package for getting home worth using the Zillow API and displaying the Property Image by Using Google Map. Clara can help speed up the creation of a real estate website or a section for showing home value on your website., (*1)
Zillow Property Listing API KEY Google Map Javascript API KEY, (*2)
$ composer require godwin-ojebiyi/clara
require_once(__DIR__ . '/vendor/autoload.php'); use GodwinOjebiyi\Clara; $clara = new Clara($zillow_id, $google_maps_api_key);
$clara->set_address("address");
$clara->get_address();
if($clara->get_home_worth()){
echo $clara->show_estimate_info('home_url');
echo $clara->show_estimate_info('zestimate_low');
echo $clara->show_estimate_info('zestimate_high');
echo $clara->show_estimate_info('zestimate');
}else{
echo "Clara cannot find your home with Zillow";
}
echo $clara->get_property_image($width, $height);