Tips and Tricks

From PHRETS

Against the flexmls RETS server

Identified by "retsgw.flexmls.com" in the Login URL

  • Compression is supported. Add the following before you connect to enable GZIP compression. Lowers response time and bandwidth required for your tasks
$rets->SetParam("compression_enabled", true);
  • Offset is supported. Request your listings in batches using the new auto-offset feature of PHRETS
$rets->SetParam("offset_support", true);

and then search requests such as:

$search = $rets->SearchQuery("Property", "A", "(LIST_87=2010-04-01T00:00:00+)", array('Limit' => 1000) );

to retrieve all listings (in batches of 1000 behind-the-scenes)

Views
Personal tools