Apple AddressBook

From Simson Garfinkel
Jump to navigation Jump to search

Access through SQLite

Apple AddressBook now uses sqlite3 to store data.

You can get a list of all your correspondents with this query:

 select ZFIRSTNAME,ZLASTNAME,ZADDRESS from ZABCDRECORD,ZABCDEMAILADDRESS where ZABCDRECORD.Z_PK = ZABCDEMAILADDRESS.ZOWNER limit 1;

Access through API

Access to LinkedIn and Facebook AddressBook

Installing

   $ pip install pyobjc-framework-AddressBook