/php-simplyrets

SimplyRETS helper

Primary LanguagePHPMIT LicenseMIT

SimplyRETS

A PHP library for working with the SimplyRETS API.

Install

Install via Composer.

Usage

Make a method request and pass all params as a single array.

use Fahdi\SimplyRETS;

// make a request for multiple listings
$response = SimplyRETS::properties([
	'api_key' => 'simplyrets', // required
	'api_secret' => 'simplyrets', // required
	'status' => 'active',
]);

// make a request for a specific listing
$response = SimplyRETS::properties([
	'api_key' => 'simplyrets', // required
	'api_secret' => 'simplyrets', // required
	'mls_id' => '1234',
]);

For more information about available methods and optional search parameters consult the documentation.