Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/l4nos/reziphp
- Owner: l4nos
- License: mit
- Created: 2017-09-11T17:26:59.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-09T07:59:17.000Z (over 6 years ago)
- Last Synced: 2024-04-14T03:18:01.397Z (7 months ago)
- Language: PHP
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# reziPHP
Rezi PHP Class for quick integration for web devsHello, 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!