19

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?

Ram Rachum
  • 84,019
  • 84
  • 236
  • 374
snakile
  • 52,936
  • 62
  • 169
  • 241
  • Have you tried running it through 2to3.py? – Duncan Feb 03 '11 at 12:09
  • 1
    I did run it through 2to3, plus some manual changes. May well not work, but if you want to build on it: http://code.google.com/r/takowl-gdata-py3k/source/list – Thomas K Feb 03 '11 at 12:43

5 Answers5

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.

UncleZeiv
  • 18,272
  • 7
  • 49
  • 77
  • You mean, I can download gdata and use it in Python 3? – snakile Feb 03 '11 at 12:06
  • 2
    No, I mean it's a protocol, you just need an xml library to use it. On top of that, Google also provides a library, which as far as I know is not compatible with Python 2.x. But you don't have to use that to take advantage of Google Data API. – UncleZeiv Feb 03 '11 at 12:07
1

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.

Lennart Regebro
  • 167,292
  • 41
  • 224
  • 251
0

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

Community
  • 1
  • 1
Benjamin Riggs
  • 648
  • 1
  • 7
  • 13
0

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

  • That does not install `gdata`, but [this](https://github.com/google/google-api-python-client). – Albert Jun 14 '18 at 18:00
0

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

dvska
  • 2,399
  • 1
  • 19
  • 14