定制 dant89/zoopla-api-php-client 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dant89/zoopla-api-php-client

Composer 安装命令:

composer require dant89/zoopla-api-php-client

包简介

A lightweight PHP client for the Zoopla API

README 文档

README

An unofficial PHP client for the Zoopla API

Latest Stable Version Github Issues

Installation

To install, run composer require dant89/zoopla-api-php-client in the root of your project or add dant89/zoopla-api-php-client to your composer.json.

"require": {
    "dant89/zoopla-api-php-client": REPLACE_WITH_VERSION
}

Zoopla developer API Documentation

To read more about how the Zoopla developer API functions, please read the official documentation.

Usage

Use your provided api key upon instantiation of this client. You can also specify the version and response output to be different from the defaults.

use Dant89\ZooplaApiClient\Client;

// Create base client
$zooplaClient = new Client(ZOOPLA_API_KEY);
// Select application client
$propertyClient = $zooplaClient->getHttpClient('property');
$properties = $propertyClient->getPropertyListings();

Tests

You can test your API key by running the PHPUnit tests included in this client.

Please note that tests will count as API call usages for the API key you specify.

PHPUnit tests:

  1. Add your apiKey to tests/Helper/ClientTestCase.php
  2. php vendor/phpunit/phpunit/phpunit tests

PHP CodeSniffer:

  • php vendor/squizlabs/php_codesniffer/bin/phpcs src --standard=PSR2 --severity=5 --extensions=php

PHP MessDetector

  • php vendor/phpmd/phpmd/src/bin/phpmd src text controversial,unusedcode,design

Contributions

Contributions to the client are welcome, to contribute please:

  1. Fork this repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a new pull request

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-09-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固