Is there a Google Data API (gdata) for Python 3.x?

老子叫甜甜 提交于 2019-12-03 11:09:06

问题


I would like to use Google Data API but I'm using Python 3. I didn't see that they mention anything about Python 3. Is it possible to install gdata for Python 3?


回答1:


Not yet, but given that it's all based around exchanging xml-formatted messages, you can easily use it at this lower level from Python 3.




回答2:


The gdata client is just a wrapper around the basic XML/http protocol that is used. You can use the basic protocol instead.

But it's probably easier to port gdata to Python 3, though. Contact the authors.




回答3:


Via another question, someone has created a python module for the spreadsheets API that does work with Python 3.




回答4:


Now you can just pip3 install google-api-python-client and you'll have it. ;)




回答5:


Python 3.x version: pip install -e git+https://github.com/dvska/gdata-python3#egg=gdata



来源:https://stackoverflow.com/questions/4885882/is-there-a-google-data-api-gdata-for-python-3-x

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!