定制 viandanteoscuro/ebay-sdk-php 二次开发

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

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

viandanteoscuro/ebay-sdk-php

Composer 安装命令:

composer require viandanteoscuro/ebay-sdk-php

包简介

An eBay SDK for PHP. Use the eBay API in your PHP projects.

README 文档

README

This eBay SDK makes it easy for you to use eBay API in your PHP-based project.

This repository is not a hobby or a side-project, but a code maintained by a for-profit company that uses it in production. We promise to keep it open-source and maintain it for as long as we operate.

About this repository

This repository is maintained by the company GeekSeller.com, and it is a fork of another eBay SDK repository. The original code has been developed by David T. Sadler, however, in February 2020, David archived the project and decided not to continue maintaining it. GeekSeller uses David’s SDK in the production, so we decided to create a fork of this SDK, maintain it as a separate project and offer it to the community.

Please note that GeekSeller is part of the eBay Developer Program and we have our eBay application listed in the eBay Solution Directory, however, this SDK is not endorsed, sponsored or maintained by eBay.

Support

This repository is updated on a regular basis. It may take time to have reported issues fixed, but we encourage you to submit tickets, contribute or contact us to request premium support.

Documentation

The documentation for the eBay API can be found here.

Some examples of using this SDK.

Requirements

  • PHP 5.5 or greater with the following extensions:
    • cURL
    • libxml
  • 64 bit version of PHP recommended as there are some issues when using the SDK with 32 bit.
  • SSL enabled on the cURL extension so that https requests can be made.

Installation

The SDK can be installed with Composer. Please see the Installation section of the User Guide to learn about installing through other means.

  1. Install Composer.

    curl -sS https://getcomposer.org/installer | php
    
  2. Install the SDK.

    php composer.phar require geekseller/ebay-sdk-php
    
  3. Require Composer's autoloader by adding the following line to your code.

    require 'vendor/autoload.php';

Example

Get the official eBay time

<?php

require 'vendor/autoload.php';

use \DTS\eBaySDK\Shopping\Services;
use \DTS\eBaySDK\Shopping\Types;

// Create the service object.
$service = new Services\ShoppingService();

// Create the request object.
$request = new Types\GeteBayTimeRequestType();

// Send the request to the service operation.
$response = $service->geteBayTime($request);

// Output the result of calling the service operation.
printf("The official eBay time is: %s\n", $response->Timestamp->format('H:i (\G\M\T) \o\n l jS Y'));

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: (Apache-2.0 and MIT) ca9ee95830b5562e6614d3800d051a8bfc54658b
  • 更新时间: 2022-09-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固