lanos/dezrezone-php

A dezrezone PHP class

dev-master 2018-06-27 11:38 UTC

This package is auto-updated.

Last update: 2024-05-07 15:26:27 UTC


README

This PHP class is designed to be injected into PSR namespace projects and autoloaded using composer.

Installation

composer install lanos/drone

Usage

Initiate the class via:

$dezrez = new Dezrez($apikey, $agencyID);

Authentication is done via the API key. No need to exchange tokens.

The following functions can be called.

// Carry out a property search
$dezrez->propertySearch($arrayOfCriteria)
// Get a single property
$dezrez->propertyDetails($propertyID)
// Change count as necesssary
$dezrez->featuredProperties(4, $rentalperiod, $branchlist)
// Change count as necesssary
$dezrez->propertySearch(4, $rentalperiod, $branchlist)

The results are returned as XML and are loaded using simpleXML. Please ensure you have simpleXML enabled on your hosting.

If you want more functionality, why not upgrade to Rezi?

Have Fun!