berbasoft.com

eHoff

eHoff is a Python script for searching eBay and showing the results on an HTML page. The seller name/item name combination of each item is saved to a JSON file, and when the script is run again these items are filtered out, so only new items are shown.

The output looks like this:

You can view the source code of ehoff.py below.

To use it you will need to install the ebaysdk package: pip install ebaysdk

You will also need to register at https://developer.ebay.com/ and create a file named settings.json containing your app ID and the global ID you want to use.

{
    "appid": "Asdfghjkl-ehoff-PRD-14789590f-ae29586f",
    "siteid": "EBAY-AU"
}

You will also need to create a file named searches.py containing a list named searches that contains searches for findItemsAdvanced.

searches = []

for keyword in ['icebreaker', 'patagonia']:
    searches.append({
        'keywords': keyword,
        'categoryId': '260012',
        'itemFilter': [
            {
                'name': 'LocatedIn',
                'value': 'AU'
            }
        ],
        'aspectFilter': [
            {
                'aspectName': 'Size',
                'aspectValueName': 'S'
            }
        ]
    })

Running ehoff.py will output an HTML file, and the previous results will be stored in history.json.