Forum: Ruby Gmailer

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
266c04b41dc337ac2cea216e7be673db?d=identicon&s=25 David Alm (Guest)
on 2007-05-05 21:01
(Received via mailing list)
Hello,

I'm experimenting with the Gmailer gem.

I'd like to extend it to be able to pull down Contact *groups*.
Currently,
it does "frequently mailed" and "all".

Does anyone know where to locate such API info?

Thanks,
Dave
97ba1d041782b257860e6a878e3bea78?d=identicon&s=25 Chase Southard (chaserx)
on 2007-05-05 21:07
(Received via mailing list)
Dave,

I assume that you've checked here:
http://code.google.com/apis/

I didn't see a specific GMail API

Chase
97ba1d041782b257860e6a878e3bea78?d=identicon&s=25 Chase Southard (chaserx)
on 2007-05-05 21:12
(Received via mailing list)
I probably mailed that last comment too soon.

Do you mean about the gmailer gem?
http://raa.ruby-lang.org/project/gmailer/
E51d56251ec4affafe85ee9367228965?d=identicon&s=25 Park Heesob (Guest)
on 2007-05-06 04:42
(Received via mailing list)
Hi,

>I'd like to extend it to be able to pull down Contact *groups*. Currently,
>it does "frequently mailed" and "all".
>
>Does anyone know where to locate such API info?
>
>Thanks,
>Dave
>
Currently, Gmailer supports "frequently mailed" and "all".
You can get contact list like this:

GMailer.connect(name, pwd) do |g|
     puts "Your frequently used addresses:"
     g.fetch(:contact=>"freq").each do |item|
       puts "Name: #{item.name} Email: #{item.email}"
     end

     puts "Your all addresses:"
     g.fetch(:contact=>"all").each do |item|
       puts "Name: #{item.name} Email: #{item.email}"
     end
end

The next version will support user defined contact groups.

Regards,
Park Heesob
This topic is locked and can not be replied to.