Difference between revisions of "Apple AddressBook"

From Simson Garfinkel
Jump to navigationJump to search
m (Created page with '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,ZABCDEM…')
 
m
 
Line 1: Line 1:
==Access through SQLite==
Apple AddressBook now uses sqlite3 to store data.
Apple AddressBook now uses sqlite3 to store data.


Line 4: Line 5:


   select ZFIRSTNAME,ZLASTNAME,ZADDRESS from ZABCDRECORD,ZABCDEMAILADDRESS where ZABCDRECORD.Z_PK = ZABCDEMAILADDRESS.ZOWNER limit 1;
   select ZFIRSTNAME,ZLASTNAME,ZADDRESS from ZABCDRECORD,ZABCDEMAILADDRESS where ZABCDRECORD.Z_PK = ZABCDEMAILADDRESS.ZOWNER limit 1;
==Access through API==
==Access to LinkedIn and Facebook AddressBook==
* https://www.linkedin.com/help/linkedin/answer/46321/linkedin-integration-with-os-x-mavericks-overview?lang=en
* http://www.mactech.com/articles/mactech/Vol.25/25.08/2508MacintheShell/index.html
* https://pypi.python.org/pypi/pyobjc-framework-AddressBook
==Installing==
    $ pip install pyobjc-framework-AddressBook

Latest revision as of 18:11, 18 March 2018

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