phpBay Pro API

Thank you for purchasing phpBay Pro API. To illustrate the use of this API, I've put together some simple example files that will assist in understanding how to use the code.

The examples are in .php files. As such, you will need to upload the /examples directory to your server. Additionally, you will want to place a copy of:

  • ebay.php
  • auction.php
  • template.ebay.results.html

in the /examples folder and set the initial settings in ebay.php.

Also be sure to check the setting for RewriteBase in the .htaccess file. The web directory for RewriteBase should reflect from your root folder. So, if you simply upload the /examples folder to the root of your server, then it should be fine. But, if you upload it to another folder, ie: /test/examples/ the this should be updated in the .htaccess file.

Once you've copied the files to the /examples folder as mentioned above and have edited ebay.php with your site settings, let's proceed to example 1 or, view tutorials by subject: