bittools / skyhub-php
这是与 SkyHub 集成的官方 PHP SDK。
1.2.9.1
2021-08-21 17:33 UTC
Requires
- php: >=7.0
- guzzlehttp/guzzle: ^6.3
- monolog/monolog: ^1.23
Requires (Dev)
- phpunit/phpunit: ^6.5
- squizlabs/php_codesniffer: ^3.3
This package is auto-updated.
Last update: 2024-09-21 10:27:35 UTC
README
SkyHub - PHP SDK
这是 SkyHub 的官方 SDK(软件开发工具包),采用 PHP 构建,您可以使用它将您的平台集成到我们的服务中。
查看一个使用示例,了解其如何轻松使用
<?php require_once './vendor/autoload.php'; $email = 'teste.sdk@skyhub.com.br'; $apiKey = 'ddRTGUrf_bho17FooTjC'; /** @var \SkyHub\Api $api */ $api = new SkyHub\Api($email, $apiKey); /** @var \SkyHub\Api\Handler\Request\Catalog\Product\AttributeHandler $requestHandler */ $requestHandler = $api->productAttribute(); /** * Create an Attribute * @var SkyHub\Api\Handler\Response\HandlerInterface $response */ $response = $requestHandler->create('color', 'Color', [ 'Blue', 'White', 'Green', 'Yellow' ]); if ($response->success()) { echo 'SUCCESS!'; }
Wiki
代码贡献
您的贡献总是受欢迎!请阅读代码贡献文档。
作者
蒂亚戈·桑帕约
布鲁诺·热梅利
支持
对于支持请求,请将电子邮件发送到以下地址
用另一种语言阅读
许可
SkyHub PHP SDK 是一个在 B2W 办公室开始的项目,并于 2018 年 3 月作为开源软件发布。
本分发中包含的源代码根据 OSL 3.0 许可。
请参阅 LICENSE.txt 文件以阅读 OSL 3.0 许可证的完整文本,或联系 sdk@e-smart.com.br 获取副本。