|
Project Information
Links
|
Python module to grab the contacts from GMail, Yahoo!, Rediff, Hotmail etc. Typically needed while users of an website want to invite his contacts to join. To install: easy_install ContactGrabber Usage (must have pycurl installed): from contactgrabber import grab_contacts
try:
emails = grab_contacts('mike', 'password_of_mike', 'rediff')
if len(emails) == 0:
print 'No contacts found. Did you enter invalid user ID / pasword?'
print str(emails)
except:
print 'Invalid UserID/Password'Currently supported sitenames: 'rediff', 'gmail', 'yahoo' Discussion Group: http://groups.google.co.in/group/contactgrabber |