使用 eBay SDK for PHP 的几个示例
This repository is no longer actively maintained and has been archived.
This project contains several examples of using the eBay SDK for PHP.
Download the project.
git clone https://github.com/davidtsadler/ebay-sdk-examples.gitFrom the ebay-sdk-examples directory install Composer with:
curl -sS https://getcomposer.org/installer | phpInstall the dependencies.
php composer.phar installAll 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.phpEdit 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.
There are several examples for each service that the SDK supports and they are listed in the README file for each service.
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.phpCopyright 2014 David T. Sadler
Licensed under the Apache Public License 2.0.
暂无开放 Issues,或尚未同步最近议题。