PHP code example of ownerrez / orez-api

1. Go to this page and download the library: Download ownerrez/orez-api library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

ownerrez / orez-api example snippets


$ownerRez = new OwnerRez\Api\Client($username, $accessToken);

$ownerRez->users()->me();

$ownerRez->properties()->get(1);

$ownerRez->properties()->search([ 
    'availabilityFrom' => '2020-01-01', 
    'availabilityTo' => '2020-01-08', 
    'limit' => 10
]);