PHP Classes

ebay_de: Get details from German eBay auction pages

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 73%Total: 2,034 All time: 1,930 This week: 524Up
Version License Categories
ebay_de 1.0Freely DistributableE-Commerce, Web services


This package is specific mainly for applications used in Germany Germany .

Inspired by the eBayAPI from Sunny Rajpal, this class is technically completely different and faster. All the information is gathered in one single loop. This class is for German eBay pages only (,
The function showdata() shows some relevant information about a given ebay auction. Caution: there are auctions that do not cooperate well with ebay_de and ebay_de will return wrong data or no data at all.

Picture of Peter Klauer
Name: Peter Klauer <contact>
Classes: 18 packages by
Country: Germany Germany
Age: 65
All time rank: 352 in Germany Germany
Week rank: 228 Down10 in Germany Germany Down
Innovation award
Innovation award
Nominee: 3x


Readme for ebay_de.php Caution: There are some auctions, where this script does not work properly! Please see the ebay_topangebote.php script. There are always some auctions in between that do not work. Ebay_de does not return proper results in all cases. Ebay_de.php worked fine for all auctions that my wife created for me until now. Hint: If you have trouble reading your auction data with ebay_de.php, let your wife enter the auction items into eBay. 1.) Include the class file in your script: include 'inc_ebay_de.php'; 2. ) Create an instance of ebay_de (make an object) $ebay = new ebay_de( '3619880818' ); The number in parantheses is the eBay auction number. You find the number in your eBay-url;item=3619880818 it is located after the string "item=" 3. ) Use the function showdata() to show the significant data: $ebay->showdata(); The function showdata can take 3 parameters: - a class name for the cells <td> - a class name for the header cell <th> - a target name by default all parameters are empty. If you want to use the class names you have to define a <style type="text/css">...</style> section in the <head> of your page. Here is an example of the classes used in the page where I promote a program: <style type="text/css"> <!-- .smalltd{ font-size: x-small; color : navy; background-color: #ffffe8; } .smallth{ font-size: small; color : navy; background-color: #ffffe8; font-weight: bold; } --> </style> I use this classes with shodata() like this: $ebay->showdata('smalltd', 'smallth', '_blank'); '_blank' is not a class but a special target name for a new browser window.

  Files folder image Files  
File Role Description
Accessible without login Plain text file ebay_topangebote.php Example Show the auctions found on a ebay page with showdata()
Plain text file inc_ebay_de.php Class Get informations from a German eBay auction
Accessible without login Plain text file readme_ebay_de.txt Doc. How to use this class
Accessible without login Plain text file test_inc_ebay_de.php Example Implementation demo

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,930
This week:524Up
User Ratings User Comments (1)
 All time
7 years ago (muabshir)