ownerrez/orez-api

Official PHP wrapper for the OwnerRez API

1.1.0 2024-08-22 19:38 UTC

This package is auto-updated.

Last update: 2024-09-22 20:09:23 UTC


README

Official PHP wrapper for the OwnerRez API

Usage

The OwnerRez\Api\Client serves as the entry point for all requests. Full documentation is available at TODO

$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
]);

Release

This library is hosted on packagist.org.

To create a new release on packagist, create a Github release.