2017 © Pedro Peláez
 

library ebay

Provides a method to communicate with eBay's Finding, Shopping and Trading API. Version 0.1.6 only supports the Finding API.

image

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.

  • Thursday, February 13, 2014
  • by bodya-dnepr
  • Repository
  • 6 Watchers
  • 15 Stars
  • 107 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

eBay API

The goal for this API is to make a reliable PHP class to communicate with the finding, shopping and trading API., (*1)

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., (*2)

Finding API

The library uses the Call Reference found here:http://developer.ebay.com/Devzone/finding/CallRef/index.html, (*3)

For both the standard input fields as well as the call-specific field, the examples below will be the same., (*4)

Initialize Library, (*5)

$ebay = new \rearley\Ebay\Finding('your_ebay_key');, (*6)

Select call reference, will mirror the call reference name in eBay's documentation, (*7)

$ebay->call_type('findItemsIneBayStores');, (*8)

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., (*9)

Aspect Filters, (*10)

$ebay->add_aspectFilter('Brand', array('Apple','Bacon'));, (*11)

Domain Filter, (*12)

$ebay->add_domainFilter('Other_MP3_Players');, (*13)

Item Filters, (*14)

$ebay->add_itemFilter('MinPrice', '100','Currency','USD');, (*15)

$ebay->add_itemFilter('MaxPrice', '200','Currency','USD');, (*16)

$ebay->add_itemFilter('FreeShippingOnly', 'true');, (*17)

To complete the call, (*18)

$results = $ebay->search();, (*19)

$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., (*20)

$ebay->results, (*21)

To get other errors not generated from ebay:, (*22)

$error = $ebay->error;, (*23)

The Versions

13/02 2014

dev-master

9999999-dev https://github.com/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.

  Sources   Download

The Requires

  • php >5.2.0

 

api php ebay