macropage-sdk/ebay-trading-upload-images 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

macropage-sdk/ebay-trading-upload-images

Composer 安装命令:

composer require macropage-sdk/ebay-trading-upload-images

包简介

a little helper to upload images to ebays EPS (eBay Picture Services)

README 文档

README

usage

$images[] = file_get_contents('/tmp/img1.png');
$images[] = file_get_contents('/tmp/img2.png');
//$images[] = 'this should not work'; <-- test this so see how things fail

$EbayUploadImages = new upload_images([
										  'app-name'   => 'xxxxxxxx',
										  'cert-name'  => 'xxxxxxxx',
										  'dev-name'   => 'xxxxxxxx',
										  'siteid'     => 77,
										  'auth-token' => 'xxxxxxxx'
									  ]);
$responses        = $EbayUploadImages->upload($images);
d($responses);

#f03c15 notice: siteid needs to be numbers, if you use letters you might get very strange SSL errors!

what you (should) get

state should cover the result of all uploads, if one failed, it will show you FALSE with an array key error.

some more config keys you can use:

  • concurrency (number of parallel uploads)
  • comp-level (X-EBAY-API-COMPATIBILITY-LEVEL)
  • ExtensionInDays (see ebay docu)

You need help with the Ebay API?

hire me: info@macropage.de

Follow me

Follow me

Follow me

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-05-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固