Welcome to the ebaysdk for PythonΒΆ

Welcome to the eBay SDK for Python. This SDK cuts development time and simplifies tasks like error handling and enables you to make Finding, Shopping, Merchandising, and Trading API calls. In Addition, the SDK comes with RSS and HTML back-end libraries.

In order to use eBay aspects of this utility you must first register with eBay to get your eBay Developer Site (see the ebay.yaml for a way to easily tie eBay credentials to the SDK) Finding Services.

Example:

from ebaysdk import getNodeText
from ebaysdk.finding import Connection as finding

f = finding()
f.execute('findItemsAdvanced', {'keywords': 'shoes'})

dom    = f.response_dom()
mydict = f.response_dict()

# shortcut to response data
print f.v('itemSearchURL')

# process the response via DOM
items = dom.getElementsByTagName('item')

for item in items:
  print getNodeText(item.getElementsByTagName('title')[0])