Open k-funk opened 7 years ago
But google-api-python-client doesn't support google contacts.
API interaction with Google Contacts is supported using the Google People API, which is indeed supported in google-api-python-client
(see this example code).
Thank you! I found my way to this library from this page.
I didn't notice that it is over 10 years old (although my first clue should have been no mention of Python 3).
It looks like a modern Google API page. I can't imagine why it's still up.
edit: the main page of that link does have a big read warning on it, but the subpages don't. So if you land on any of them (say, via search or an outside hard link) there's no warning.
I've just spent hours trying to work out why the contacts_example.py isn't working (raising 'gdata.client.ClientLoginFailed: Server responded to ClientLogin request: 404'). I now suspect it's using an auth protocol that is no longer supported. Can anybody confirm this? If so, I'll submit a pull request for a change to the README.md file, to make it clearer that this is deprecated code.
This repo is linked to from https://developers.google.com/google-apps/contacts/v3/, which I landed on when I did a Google search for 'python Google Contacts'. I guess the note at the top of that page was supposed to indicate that it's an old API, but since I'm not interested in profile information, nor writing contact information, I didn't think it mattered to me. This repo ought to have a warning, in case other people make the same mistake.
Seems like a lot of people are still landing upon this library and expecting it to be maintained. An example is: Google Search: google photos api -> picasa api -> docs that point to gdata
It would be helpful to put the status of this repo into the README.md so people use clients that are (https://github.com/google/google-api-python-client).