Different Python Google APIs
Asked Answered
G

2

9

I am trying to figure out the difference between Google's GData API ( http://code.google.com/p/gdata-python-client/ ) and Google's APIs Client Library for Python ( http://code.google.com/p/google-api-python-client/ ).

They both seem to be by Google. Which is the official one? How are they different? The second seems to use OAuth primarily.

If anyone has knowledge or experience using either it would be great to get some information about this!

PS: I though about putting this on superuser, but because it is programming related I thought it would be better here.

Gonta answered 1/4, 2012 at 23:16 Comment(0)
O
7

The difference is the same as the difference between the corresponding Java libraries (http://code.google.com/p/google-api-java-client/ and http://code.google.com/p/gdata-java-client/)

That is, the gdata- version of the code has gone into maintenance mode, probably won't be updated to cover new APIs, but will have bugs fixed as they're found. The google-api- version is under very active development.

There's a good discussion of the pros and cons of each version of the Java api here: http://code.google.com/p/gdata-java-client/wiki/MigratingToGoogleApiJavaClient

The non-java-specific parts of that document also apply to the python api libraries.

Orelle answered 2/4, 2012 at 8:34 Comment(0)
I
2

These libraries are also intended to support different protocols.

The APIs supported by google-api-python-client are discovery based, while those supported by gdata-python-client use the GData protocol.

Improbable answered 15/11, 2012 at 19:14 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.