lara/rets

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (dev-master) of this package.

dev-master 2015-11-04 22:02 UTC

This package is not auto-updated.

Last update: 2022-11-26 05:32:37 UTC


README

###This package is DEPRECATED, please check out PHRETS

RETS client for Laravel using PHRETS.

$select = ['ListingKey','ModificationTimestamp'];

$query = [
	'ListingKey' => '0+',
	'ModificationTimestamp' => '2014-02-20T01:00:00+'
];

$client = Rets::resourceClass('Property','RES')
				->select($select)
				->query($query)
				->limit(10)
				->make();

$records = [];

if ( $client->exist() )
{
	foreach($client->results as $row)
	{
		$records[] = $row;
	}

}

dd($recorods)