I’ve been searching for a library to use to access the eBay Dev API (using Python 3) for quite some time, but the sources I’ve found either don’t specify the use of Python 3 (and I’ve learned to assume that this means they use 2.x) or haven’t been updated for years.
Can somebody point me in the right direction? Is there a library I’m missing? Or should I try to implement it myself? If I have to implement it myself…any words/tutorials to help? I’m really confused here….thanks in advance.
eBay API can be found in this general link: https://www.x.com/developers/ebay/documentation-tools/tutorials
And 2.7x isn’t obsolete? Pray tell why it won’t be in a couple years? Or…just…what?
sigh due to the words spoken here and read elsewhere…I’ll just bite the bullet and re-learn Python in 2.7.x….whatever. Thanks anyways.
3
Answers
python-ebay is a python wrapper for eBay APIs. It covers most of the eBay APIs.
PS: I wrote it.
I tried python-ebay but it doesn’t implement every function of the Finding API (for example, there is no
findCompletedItems
function).The alternative ebaysdk-python seems to be more actively maintained, is a little more flexible and does everything I need in a more simple way (IMO).
For example, getting completed items for a category is as simple as:
The dictionary that’s passed to the execute function exactly mirrors the eBay Finding API documentation, so if you can read that, you can basically do anything you need with the above three line of code.
The official eBay page https://go.developer.ebay.com/ebay-sdks recommends https://github.com/timotheus/ebaysdk-python . Currently ebaysdk-python has been updated 9 days ago and regularly since 2011, while python-ebay hasn’t been updated for 20 months.