Here's what this application does:
- Grabs the upcoming US Ebay listings for "LEGO lbs".
- Keeps only results for which it can determine the number of pounds in the listing from the title.
- Calculates total price including shipping.
- Calculates price per pound.
- Keeps only results that have a price per pound less than $10.
- Displays the results by soonest end time.
You can view live results here: http://joncraton.org/lego-by-pound
- Copy ebay.apikey.example to ebay.apikey and add your keys.
- Run
__main__.py
This is configured to output a static list of items to stdout. It is actually a small web.py applications with only a single page. It could easily be expanded to run as a proper web application.