1. Go to this page and download the library: Download timitek/getrets library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
timitek / getrets example snippets
use Timitek\GetRETS\GetRETS;
$getRets = new GetRETS($customerKey);
$listings = $getRets->getListing()->searchByKeyword($preparedKeywords);
(new GetRETS($customerKey))->getListing();
(new GetRETS($customerKey))->getListing()->searchByKeyword($preparedKeywords);
(new GetRETS($customerKey))->getListing()->search($keywords, $extra, $maxPrice, $minPrice, $beds, $baths, $
(new GetRETS($customerKey))->getListing()->details($listingSource, $listingType, $listingId);