fahdi/simplyrets

A PHP library for working with the SimplyRETS API

v1.0.0 2018-12-07 03:54 UTC

This package is auto-updated.

Last update: 2025-03-29 00:29:11 UTC


README

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.