Hotmail、Gmail 和 Yahoo 的 PHP API?

2022-01-23 00:00:00 api gmail hotmail php yahoo

I am a PHP developer who is kind of in a pickle. I'm trying to locate and/or build an API capable of speaking to Hotmail, Yahoo and GMAIL in order to retrieve contact lists (with the user's consent, of course). The one I'm having the most trouble finding is a Hotmail API.

Where would I start to look as far as finding either a working, stable API or the steps I could take to developing one for hotmail? Is there one that covers all of these bases that I could implement? Any help would be greatly appreciated!

Thanks!

EDIT: I did manage to get a few services up, however, I've been using Open Inviter for at least one client project, and it seems to perform well.

解决方案

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.

相关文章