PHP code example of timitek / getrets-laravel
1. Go to this page and download the library: Download timitek/getrets-laravel 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-laravel example snippets
Timitek\GetRETS\Providers\GetRETSServiceProvider::class,
GetRETS::getListing();
GetRETS::getListing()->searchByKeyword($preparedKeywords);
GetRETS::getListing()->search($keywords, $extra, $maxPrice, $minPrice, $beds, $baths, $
GetRETS::getListing()->details($listingSource, $listingType, $listingId);
GetRETS::getListing()->imageUrl($listingSource, $listingType, $listingId, $photoId, $width = null, $height = null);
GetRETS::getRETSListing();
GetRETS::getRETSListing()->searchByKeyword($preparedKeywords);
GetRETS::getRETSListing()->search($keywords, $extra, $maxPrice, $minPrice, $beds, $baths, $
GetRETS::getRETSListing()->details($listingSource, $listingType, $listingId);
GetRETS::getRETSListing()->imageUrl($listingSource, $listingType, $listingId, $photoId, $width = null, $height = null);
GetRETS::getRETSListing()->executeDMQL($query, $feedName, $listingType);
GetRETS::getRETSListing()->getListingsByDMQL($query, $feedName, $listingType);
GetRETS::getGeocoding();
GetRETS::getGeocoding()->parseGoogleResults($googleResults);
GetRETS::getGeocoding()->googleGeocode($address);
GetRETS::getListing()->setSortBy("providedBy")->setReverseSort(true)->searchByKeyword($preparedKeywords);
private $sortBy = "rawListPrice";
private $reverseSort = false;
$listings = $getRets->getListing()->setSortBy("providedBy")->setReverseSort(true)->searchByKeyword($preparedKeywords);
php artisan vendor:publish --provider="Timitek\GetRETS\Providers\GetRETSServiceProvider" --tag=config
php artisan serve