Several examples of using the eBay SDK for PHP
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
account update: add new examples Jan 26, 2017
analytics update: add new examples Jan 26, 2017
async update: correct spelling Jun 4, 2016
browse update: add new examples Jan 26, 2017
business-policies-management update: remove out of date links to documentation Apr 15, 2016
catalog update: add new catalog examples Jun 12, 2018
compliance update: add new compliance example Jun 28, 2018
feed update: add new examples Jun 23, 2017
finding update: remove out of date links to documentation Apr 15, 2016
half-finding update: remove out of date links to documentation Apr 15, 2016
inventory update: add new examples Jan 26, 2017
large-merchant-services update: add abort job example Apr 10, 2017
metadata update: add new examples Jun 23, 2017
misc update: remove out of date links to documentation Apr 15, 2016
oauth-tokens update: add documentation regarding slim application Jun 29, 2017
product update: add new examples Jan 26, 2017
product_metadata update: add new examples Jan 26, 2017
related-items update: add related items examples Feb 10, 2017
resolution-case-management update: remove out of date links to documentation Apr 15, 2016
return-management update: remove out of date links to documentation Apr 15, 2016
shopping update: add shopping example Mar 17, 2017
taxonomy update: add new examples Jun 23, 2017
trading update: add items example Apr 17, 2017
.gitignore update: add slim framework example Mar 19, 2017
LICENSE.md First commit. Apr 4, 2014
README.md update: add new compliance example Jun 28, 2018
composer.json update: add new compliance example Jun 28, 2018
composer.lock update: add new compliance example Jun 28, 2018
configuration.php.example update: add oauth examples Mar 17, 2017

README.md

EBAY-SDK-EXAMPLES

This project contains several examples of using the eBay SDK for PHP.

Requirements

  • PHP 5.3.3 or greater with the following extensions:
    • cURL
    • libxml
  • SSL enabled on the cURL extension so that https requests can be made.

Installation

  1. Download the project.

    git clone https://github.com/davidtsadler/ebay-sdk-examples.git
    
  2. From the ebay-sdk-examples directory install Composer with:

    curl -sS https://getcomposer.org/installer | php
    
  3. Install the dependencies.

    php composer.phar install
    

Configuration

All the examples load configuration settings from a configuration.php file located in the root of the project directory. This file can be created by running the following command inside the ebay-sdk-examples directory:

cp configuration.php.example configuration.php

Edit the resulting configuration.php file and specify your eBay application keys. Ensure that you enter values for both the sandbox and production enviroments.

Be careful not to commit the configuration.php file into an SCM repository as you risk exposing your eBay application keys to more people than intended.

Examples

There are several examples for each service that the SDK supports and they are listed in the README file for each service.

  1. Finding

  2. Trading

  3. Shopping

  4. Business Policies Management

  5. Large Merchange Services

  6. Half Finding

  7. Resolution Case Management

  8. Return Management

  9. Misc

  10. Async

  11. Account

  12. Inventory

  13. Product

  14. Product Metadata

  15. Browse

  16. Analytics

  17. OAuth Tokens

  18. Taxonomy

  19. Feed

  20. Metadata

  21. Catalog

  22. Complicance

To run an example from the command line use the php command followed by the name of the example file.

php finding/01-simple-keywords-search.php

License

Copyright 2014 David T. Sadler

Licensed under the Apache Public License 2.0.