sapientpro/ebay-traditional-sdk 问题修复 & 功能扩展

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

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

sapientpro/ebay-traditional-sdk

最新稳定版本:v1.1.0

Composer 安装命令:

composer require sapientpro/ebay-traditional-sdk

包简介

Ebay Traditional API SDK for PHP

README 文档

README

This is a fork of the original dts/ebay-sdk-php by @davidtsadler, with support for PHP 8 and compatibility with Guzzle 7.

The original project has been officially abandoned in February 2020.

This project enables PHP developers to use the Traditional eBay APIs in their PHP code, and build software using services such as Finding, Trading, Shopping, etc.

Features

Prerequisites

  • PHP 8 or higher with the following extensions:
    • curl
    • libxml
  • 64 bit version 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:

composer require sapientpro/ebay-traditional-sdk

Example usage

Here is the example usage of the package. Visit wiki for more detailed documentation and examples.

Get the official eBay time

<?php
use EBay\SDK\Shopping\Services\ShoppingService;
use EBay\SDK\Shopping\Types\GetEbayTimeRequestType;

// 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'));

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-06-08