定制 jketelaar/php-kiyoh-api 二次开发

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

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

jketelaar/php-kiyoh-api

最新稳定版本:2.1.0

Composer 安装命令:

composer require jketelaar/php-kiyoh-api

包简介

Allows you to interact with KiyOh using PHP

README 文档

README

All Contributors

Build Status

How to install?

Install this project using composer: composer require jketelaar/php-kiyoh-api.

Then start using the API using something like:

<?php
/**
 * @author JKetelaar
 */
require_once('vendor/autoload.php');

$connector = 'xxxxxxxx'; // Change with your hash
$count = 50; // Amount of reviews you want to get

$kiyoh = new \JKetelaar\Kiyoh\Kiyoh($connector, $count);

$company = $kiyoh->getCompany();

var_dump($company->getReviews()[0]->getId());

var_dump($company->getLocationName());
var_dump($company->getAverageRating());
var_dump($company->getNumberReviews());

Example outputs

Company output

var_dump($kiyoh->getCompany());

KiyOh Company PHP Dump

Review output

var_dump($kiyoh->getCompany()->getReviews()[0]);

KiyOh Company PHP Dump

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Jeroen Ketelaar
Jeroen Ketelaar

🚧 👀 💻 🚇 🤔
Menno van den Ende
Menno van den Ende

💻 🤔
Mike van Diepen
Mike van Diepen

💻 ⚠️
joldnl
joldnl

💻
Robin Speekenbrink
Robin Speekenbrink

💻
Thomas Dik
Thomas Dik

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 2
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2017-04-13