A PHP library for working with the SimplyRETS API.
Install via Composer.
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.