antonioortegajr / idx-broker-api
package for calling the IDX Broker API using Guzzle
Installs: 32
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 4
pkg:composer/antonioortegajr/idx-broker-api
Requires
- php: >=5.5.0
- guzzlehttp/guzzle: ~5.0
Requires (Dev)
- phpunit/phpunit: 4.*
This package is not auto-updated.
Last update: 2025-10-26 01:22:28 UTC
README
Package for calling the IDX Broker API.
Contributing
Only IDX peeps at this time.
Install
Via Composer
$ composer require antonioortegajr/idx-broker-api
#Usage
Example:
<?php /* * Example use * Pass your API endpoint and the method to the apiCall() */ require_once "vendor/antonioortegajr/idx-broker-api/vendor/autoload.php"; require_once "vendor/antonioortegajr/idx-broker-api/src/idxApiClass.php"; use \antonioortegajr\idxAPI as idxCall; $apiKey = 'yourApiKeyHere'; // GET Not all methods are available in this version $requestMethod = 'GET'; //available components leads, clients, partners, mls $apiComponent = 'leads'; $apiMethod = 'lead'; $apiVersion = '1.0.4'; $apiClass = new idxCall\idxApiClass(); echo $apiClass::apiCall($requestMethod, $apiKey, $apiComponent, $apiMethod, $apiVersion);