Skip to content

The contactlist-client gem is a ruby client to contactlist service which retrieves contact list of email(hotmail, gmail, yahoo, sohu, sina, 163, 126, tom, yeah, 189 and 139) and im(msn)

License

flyerhzm/contactlist-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

contactlist-client

The contactlist-client gem is a ruby client to contactlist service which retrieves contact list of email(hotmail, gmail, yahoo, sohu, sina, 163, 126, tom, yeah, 189 and 139) and im(msn)


install


gem sources -a http://gemcutter.org
gem install contactlist-client

Usage


require 'contactlist-client'
  
contacts = ContactList::Client.fetch(account, password, type)

contacts.each do |contact|
  puts "username: #{contact.username}, email: #{contact.email}"
end
  • account, string of your email or im account
  • password, string of your password
  • type, string of your email type of im, now support gmail, hotmail, yahoo, sohu, sina, tom, yeah, 163, 126, 189, 139 and msn

Copyright © 2009 Richard Huang (flyerhzm@gmail.com). See LICENSE for details.

About

The contactlist-client gem is a ruby client to contactlist service which retrieves contact list of email(hotmail, gmail, yahoo, sohu, sina, 163, 126, tom, yeah, 189 and 139) and im(msn)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages