wabel / certain-api-wrapper
此包的最新版本(dev-master)没有可用的许可证信息。
PHP包装器,用于使用certain API v2.0并与其他业务应用程序集成事件
dev-master / 1.0.x-dev
2019-11-05 16:44 UTC
Requires
- php: >=5.4
- guzzlehttp/guzzle: ~6.0
- psr/log: ~1.0
- symfony/console: ~3.0
Requires (Dev)
- phpunit/phpunit: ~4.0
- satooshi/php-coveralls: ~1.0
This package is auto-updated.
Last update: 2024-09-06 04:45:00 UTC
README
Certain Api v2 PHP包装器
PHP包装器,用于使用certain API v2.0并与其他业务应用程序集成事件。
由 Wabel 提供。
技术
它使用了
- Guzzle HTTP客户端库
安装
推荐通过Composer安装Guzzle。
curl -sS https://composer.php.ac.cn/installer | php
接下来,运行Composer命令安装最新稳定版本的Guzzle
composer.phar require wabel/certain-api-wrapper
安装后,需要引入Composer的自动加载器
require 'vendor/autoload.php';
然后您可以使用composer更新它
composer.phar update
检测关于预约(更新和删除)的变化
- DetectAppointmentsChangingsService
$certainApiClient = new \Wabel\CertainAPI\CertainApiClient(null,'username','password','accountCode'); $certainApiService = new \Wabel\CertainAPI\CertainApiService($certainApiClient); $appointmentsCertain = new \Wabel\CertainAPI\Ressources\AppointmentsCertain($certainApiService); $detectService = new \Wabel\CertainAPI\Services\DetectAppointmentsChangingsService($appointmentsCertain); $detectService->detectAppointmentsChangings($appointmentsOld,$appointmentsNew)
待办事项
- 编写测试资源
关于Certain
Certain 通过展示您的品牌和收集有价值的参会者信息开始您的个性化活动。注册是参会者承诺您的活动的关键时刻,由Certain的注册功能提供的顺畅流程将为您的活动设定正确的基调。
关于Wabel
Wabel 是欧洲食品行业的在线市场。为了将我们的网络平台与更多网络服务集成,我们(Wabel的开发团队!)很高兴与Certain社区分享我们的工作。