PHP APIs for Hotmail, Gmail and Yahoo? [closed]

Some pointers:

  • Gmail: Google Contacts Data API
  • Yahoo:
    • Address Book API (deprecated)
    • Contacts API
  • Hotmail: Windows Live Contacts API

Most of the scripts, etc. I found didn't really work. There's a commercial one which uses scraping to retrieve the contacts but I think those attempts are rather flawed. The above links should give you an example of how to access the address books on each service.


Plaxo has an API widget to import contacts from Gmail, Yahoo, AOL and Hotmail. You can view a demo of it in action here. It previously had a small issue with IE7 (last checked half a year ago), but if its resolved it might suite your needs.


Rapleaf might have something for you:

http://www.phpclasses.org/browse/package/4436.html

It appears that this service plays cat and mouse with some providers, as not all e-mail providers offer a stable API for communicating with their services. (It would undermine their business model.) So, if you use these and the e-mail provider breaks the chain somehow, you're broken until Rapleaf catches up.