warleyelias/skyhub-php

这是与SkyHub集成的官方PHP SDK。

1.0.3 2018-11-12 16:37 UTC

This package is auto-updated.

Last update: 2024-08-29 04:25:50 UTC


README

SkyHub - MarketPlace Intelligence

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

  1. 系统要求
  2. 凭证
  3. 安装和设置
  4. 使用SDK
    1. 使用API
    2. 目录
      1. 产品属性
      2. 产品
      3. 分类
    3. 订单
      1. 查询订单
      2. 查询订单
      3. 处理订单队列
      4. 计费订单
      5. 取消订单
      6. 添加订单跟踪
      7. 确认订单交付
      8. 获取订单标签
      9. 有配送问题的订单

代码贡献

您的贡献总是受欢迎!请阅读代码贡献文档

作者

Warley Elias

支持

对于支持请求,请将电子邮件发送到以下地址

warleyelias@gmail.com

许可证