How can I retrieve contacts from hotmail with python?
Is there an开发者_开发百科y example?
Hotmail: Windows Live Contacts API
If a python interface doesn't exist you may have to resort to screen scraping.
use octazen, but you have to pay for it
IIRC Hotmail has POP access, so just use the poplib library.
Usage is something like this (NOT tested):
hotmail = poplib.POP3_SSL('pop3.live.com', 995)
hotmail.user(USERNAME)
hotmail.pass_(PASSWORD)
message_count = len(hotmail.list()[1])
for i in range(message_count):
for message in hotmail.retr(i+1)[1]
print message
Some connectivity info here (might be old).
精彩评论