Skip to content

Official PHP wrapper for the OwnerRez API

License

Notifications You must be signed in to change notification settings

ownerrez/orez-api-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OwnerRez API

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.