Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将 Zanox 提要集成到 Django 项目中。不幸的是,Python 中似乎没有客户端库实现。
或者有吗?
Python 库的下一个最佳替代方案是什么?使用 Ruby 版本?
说出您的问题中的 Zanox 内容会很有用。对于那些感兴趣的人来说,它们似乎是一个广告网络。
无论如何,它们似乎确实公开了一个非常简单的 XML 或 JSON 提要,如此处所述。使用urllib2or请求并使用json.load.
urllib2
json.load
您可以在自定义管理命令中使用https://pypi.python.org/pypi/python-zanox-api/ 。