bodya-dnepr/ebay
Composer 安装命令:
composer require bodya-dnepr/ebay
包简介
Provides a method to communicate with eBay's Finding, Shopping and Trading API. Version 0.1.6 only supports the Finding API.
README 文档
README
The goal for this API is to make a reliable PHP class to communicate with the finding, shopping and trading API.
Important Note
The library is still under development and at this time only the Finding API has been implemented. The documentation is a work in progress and will be updated as we move along in development.
Finding API
The library uses the Call Reference found here:http://developer.ebay.com/Devzone/finding/CallRef/index.html
For both the standard input fields as well as the call-specific field, the examples below will be the same.
Initialize Library
$ebay = new \rearley\Ebay\Finding('your_ebay_key');
Select call reference, will mirror the call reference name in eBay's documentation
$ebay->call_type('findItemsIneBayStores');
Here are a few examples of setting up each option. Any other option not listed in the example but listed in the documents will follow the same syntax.
Aspect Filters
$ebay->add_aspectFilter('Brand', array('Apple','Bacon'));
Domain Filter
$ebay->add_domainFilter('Other_MP3_Players');
Item Filters
$ebay->add_itemFilter('MinPrice', '100','Currency','USD');
$ebay->add_itemFilter('MaxPrice', '200','Currency','USD');
$ebay->add_itemFilter('FreeShippingOnly', 'true');
To complete the call
$results = $ebay->search();
$results will be FALSE on any errors caused through the code. Any errors that would generate a error response from eBay will not flag an error.
$ebay->results
To get other errors not generated from ebay:
$error = $ebay->error;
bodya-dnepr/ebay 适用场景与选型建议
bodya-dnepr/ebay 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 113 次下载、GitHub Stars 达 14, 最近一次更新时间为 2012 年 12 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「php」 「api」 「ebay」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 bodya-dnepr/ebay 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 bodya-dnepr/ebay 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 bodya-dnepr/ebay 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
An eBay SDK for PHP. Use the eBay API in your PHP projects.
A PSR-7 compatible library for making CRUD API endpoints
eBay OAuth Client which helps in easy integration
Alfabank REST API integration
An eBay SDK for PHP. Use the eBay API in your PHP projects.
marketplaces-data-export is a library for generic data export from marketplaces
统计信息
- 总下载量: 113
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 14
- 点击次数: 29
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2012-12-21