gisevevokoru/ezze-siftuz-products-v1

dev-master 2020-07-01 10:07 UTC

This package is auto-updated.

Last update: 2024-09-29 06:08:51 UTC


README

管理您的产品数据,发送图片等等。

此PHP包由Swagger Codegen项目自动生成

  • API版本:V1
  • 包版本:v1.0
  • 构建包:io.swagger.codegen.v3.generators.php.PhpClientCodegen

要求

PHP 5.5 及以上

安装与使用

Composer

要通过Composer安装绑定,请在composer.json中添加以下内容

{
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/gisevevokoru/ezze-siftuz-products-v1.git"
    }
  ],
  "require": {
    "gisevevokoru/ezze-siftuz-products-v1": "*@dev"
  }
}

然后运行composer install

手动安装

下载文件并包含autoload.php

    require_once('/path/to/SwaggerClient-php/vendor/autoload.php');

测试

要运行单元测试

composer install
./vendor/bin/phpunit

入门指南

请遵循安装流程,然后运行以下命令

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$apiInstance = new EzzeSiftuz\ProductsV1\Api\BrandsApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);

try {
    $result = $apiInstance->getBrands();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BrandsApi->getBrands: ', $e->getMessage(), PHP_EOL;
}
?>

API端点文档

所有URI均相对于/

模型文档

授权文档

所有端点都不需要授权。

作者