billortell / ebay-sdk-examples

Several examples of using the eBay SDK for PHP

Home Page:http://devbay.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EBAY-SDK-EXAMPLES

This repository is no longer actively maintained and has been archived.

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.

About

Several examples of using the eBay SDK for PHP

http://devbay.net

License:Apache License 2.0


Languages

Language:PHP 97.4%Language:HTML 2.6%