Apple AddressBook
From Simson Garfinkel
Jump to navigationJump 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
- 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