PHP Classes

ebay_de: Get details from German eBay auction pages

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

Author

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 (ebay.de, ebay.at).
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: 170 Down11 in Germany Germany Down
Innovation award
Innovation award
Nominee: 3x

Details

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 http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&amp;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 www.ingoknito.de 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 (4)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,034
This week:0
All time:1,931
This week:524Up
User Ratings User Comments (1)
 All time
Utility:95%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:79%StarStarStarStar
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:73%StarStarStarStar
Rank:124
 
nice
7 years ago (muabshir)
80%StarStarStarStarStar