定制 bploeger/picthrive 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

bploeger/picthrive

Composer 安装命令:

composer require bploeger/picthrive

包简介

Detailed docs about our API, including hidden fields not publicly displayed.

README 文档

README

Detailed docs about our API.

This PHP package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0
  • Build package: org.openapitools.codegen.languages.PhpClientCodegen

Requirements

PHP 5.5 and later

Installation & Usage

Composer

To install run composer require "bploeger/picthrive"

Getting Started

Please follow the installation procedure and then run the following:

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

// Configure API key authorization: Bearer
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new OpenAPI\Client\Api\BrandApi(
    // 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(),
    $config
);
$brand_id = 'brand_id_example'; // string | The unique ID of the Brand

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

?>

Documentation for API Endpoints

All URIs are relative to https://api.picthrive.com/v1

Class Method HTTP request Description
BrandApi getStore GET /Brand/{brandId} Get Store
BrandApi listStores GET /Brand/ Get all Stores
GroupApi createGroup POST /Group/ Create an new Group.
GroupApi createUploadPhotoRequest POST /Group/{groupId}/Photo Upload a photo
GroupApi deleteGroup DELETE /Group/{groupId} Delete the Group
GroupApi getGroup GET /Group/{groupId} Gets a Group.
GroupApi listGroupPhotos GET /Group/{groupId}/Photo List photos
GroupApi listGroupVideos GET /Group/{groupId}/Video List videos
GroupApi listGroups GET /Group/ List Groups
GroupApi markGroupAsUploading PUT /Group/{groupId}/UploadStatus Update Upload Status
GroupApi searchForGroupByToken GET /Group/Search Search for Group by Token
GroupApi updateGroup PUT /Group/{groupId} Update a Group
GroupApi zipGroupPhotos POST /Group/{groupId}/Zip Zip Photos
OwnerApi getAccount GET /Owner/ Get Your Account
PhotoApi createUploadPhotoRequest POST /Group/{groupId}/Photo Upload a photo
PhotoApi deletePhoto DELETE /Photo/{photoId} Delete a Photo
PhotoApi getPhoto GET /Photo/{photoId} Get a Photo
PhotoApi listGroupPhotos GET /Group/{groupId}/Photo List photos
PhotoApi markGroupAsUploading PUT /Group/{groupId}/UploadStatus Update Upload Status
PhotoApi updatePhoto PUT /Photo/{photoId} Copy or Move a Photo
PhotoApi zipGroupPhotos POST /Group/{groupId}/Zip Zip Photos
VideoApi listGroupVideos GET /Group/{groupId}/Video List videos
VideoApi markGroupAsUploading PUT /Group/{groupId}/UploadStatus Update Upload Status

Documentation For Models

Documentation For Authorization

Bearer

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Author

统计信息

  • 总下载量: 24
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2019-05-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固