orbitalcodes / skyhub-php
这是与SkyHub集成的官方PHP SDK。
1.3.0
2019-09-13 19:26 UTC
Requires
- php: >=7.0
- guzzlehttp/guzzle: ^6.3
- monolog/monolog: ^1.23
Requires (Dev)
- phpunit/phpunit: ^6.5
- squizlabs/php_codesniffer: ^3.3
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联系以获取副本。