Work in progress on Google Voice and Google Data
[gc-dialer] / src / gmail_backend.py
index 30d1bcf..bead963 100644 (file)
@@ -20,6 +20,8 @@
 
 """
 GMail Contacts Support
+
+@todo Look into the official API http://code.google.com/p/gdata-python-client/
 """
 
 
@@ -43,7 +45,7 @@ class GMailAddressBook(object):
 
                self._account = libgmail.GmailAccount(username, password)
                self._gmailContacts = self._account.getContacts()
-       
+
        @classmethod
        def is_supported(cls):
                return libgmail is not None
@@ -56,7 +58,7 @@ class GMailAddressBook(object):
                        return
 
                yield self, "", ""
-       
+
        def open_addressbook(self, bookId):
                return self
 
@@ -75,7 +77,7 @@ class GMailAddressBook(object):
                if not self.is_supported():
                        return
                pass
-       
+
        def get_contact_details(self, contactId):
                """
                @returns Iterable of (Phone Type, Phone Number)