Open sotnikov-link opened 9 years ago
I was could not get contacts from service "Google Contacts". But I found the solution on the Internet: http://pbxinaflash.com/community/index.php?threads/google-contacts-to-asterisk-phonebook.10943/page-2#post-95132
Thank you for attention!
My code as example:
# encoding: utf-8 import gdata.contacts.service GOOGLE_EMAIL = 'login@gmail.com' GOOGLE_PASSWORD = 'mypassword' client = gdata.contacts.service.ContactsService() client.ClientLogin(GOOGLE_EMAIL, GOOGLE_PASSWORD) feed = client.GetContactsFeed()
ClientLogin() is no longer supported. All app authorizations are done with OAuth2. See #24, #20 . Duplicate issues.
I was could not get contacts from service "Google Contacts". But I found the solution on the Internet: http://pbxinaflash.com/community/index.php?threads/google-contacts-to-asterisk-phonebook.10943/page-2#post-95132
Thank you for attention!
My code as example: