Skip to content

How to use RETS server to pull real estate listings, photos and other data made available from an MLS system in wordpress

Notifications You must be signed in to change notification settings

Torn-Marketing/Wordpress-Rets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordpress-Rets

How to use RETS server to pull real estate listings, photos and other data made and use in wordpress

Git Clone above files in wordpress folder or name the folder cron. Cron.php is main file you need cridential

$rets_login_url 	=	'';
$rets_username		=   '';
$rets_password 		=   '';

Cross check cridential working fine by login https://retsmd.com/ here

Above site play an importan role in over all development

Simple example to get list of properties:

$property_classes = array('Listing');
$count = 1;
foreach ($property_classes as $class_name) {
	$list_date = "2015-06-15-2015-07-15";
	$search = $rets->SearchQuery("Property",$class_name,"(MatrixModifiedDT=$list_date)",
	array( 'Format' => 'COMPACT-DECODED', 'Count' => 1, 'StandardNames' => 0));			
	while ($listing = $rets->FetchRow($search))
	{		
		print_R($listing);		
	}
}

Let me know if you need more help Email address : navalkishor2005@gmail.com Skype id : naval.kishor66

About

How to use RETS server to pull real estate listings, photos and other data made available from an MLS system in wordpress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%