通过 Python 访问 eBay 开发者的 API?

发布于 2025-01-08 05:51:13 字数 1539 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

Bonjour°[大白 2025-01-15 05:51:13

python-ebay 是 eBay API 的 python 包装器。它涵盖了大部分 eBay API

PS:我写的。

python-ebay is a python wrapper for eBay APIs. It covers most of the eBay APIs.

PS: I wrote it.

許願樹丅啲祈禱 2025-01-15 05:51:13

我尝试了 python-ebay 但它并没有实现Finding API的每个功能(例如,没有 findCompletedItems 函数)。

替代方案 ebaysdk-python 似乎更积极地维护,更灵活,并且可以完成我的所有工作需要以更简单的方式(IMO)。

例如,获取某个类别的已完成项目非常简单:

api = finding(appid='APP_ID')
api.execute('findCompletedItems', {'categoryId': '619'})
print api.response_dict()

传递给执行函数的字典完全镜像 eBay Finding API 文档,所以如果你能读懂它,你基本上可以用上面三行代码做任何你需要做的事情。

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:

api = finding(appid='APP_ID')
api.execute('findCompletedItems', {'categoryId': '619'})
print api.response_dict()

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.

流心雨 2025-01-15 05:51:13

eBay 官方页面 https://go.developer.ebay.com/ebay-sdks推荐 https://github.com/timotheus/ebaysdk-python 。目前 ebaysdk-python 已于 9 天前更新并自 2011 年起定期更新,而 python-ebay 已有 20 个月没有更新。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文