Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/l4nos/reziphp

Rezi PHP Class for quick integration for web devs
https://github.com/l4nos/reziphp

Last synced: 7 days ago
JSON representation

Rezi PHP Class for quick integration for web devs

Awesome Lists containing this project

README

        

# reziPHP
Rezi PHP Class for quick integration for web devs

Hello, This is a simple php class designed to be included in composer based projects. It should allow web developers to quickly implement rezi property search functionality within their website projects.

Usage

Initiate the class via:

$rezi = new Rezi($apikey, $clientsecret, $clientID, $environment);

Authentication is already done for you on class __construct

NOTE: The $apikey variable should be set to false if you are using a client secret and ID. The class will save the returned access token to a randomly named txt file.

Call an endpoint by:

$rezi->getRezi($type, $endpoint, $pagesize = false, $pagenumber = false, $payload = false, $qstring = false)

The JSON encoded results are automatically decoded into a PHP array ready for use.

WARNING: Ensure directory indexing is OFF in apache or nginx, otherwise someone could find your access token.

New Features will be added as they become available in Rezi.

Have Fun!