antonioortegajr/idx-broker-api
Composer 安装命令:
composer require antonioortegajr/idx-broker-api
包简介
package for calling the IDX Broker API using Guzzle
README 文档
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);
统计信息
- 总下载量: 32
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-08-27