This is probably more a Ruby question, but somebody here probably knows ;). Is there some handy Ruby or Rails library that can get data from other sites (like Amazon and Flickr) via REST, then return it in nice arrays, hashes, objects, etc.? I''ve searched quite a bit and haven''t been able to really find anything. There is a ruby-amazon library, but it''s for an older version of Amazon''s API (3 rather than 4). I''m not even sure how it goes about making and parsing REST requests either. thanks csn __________________________________ Yahoo! for Good - Make a difference this year. http://brand.yahoo.com/cybergivingweek2005/
perhaps this article can help: http://www.xml.com/pub/a/2005/11/02/rest-on-rails.html On 12/28/05, CSN <cool_screen_name90001-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> > This is probably more a Ruby question, but somebody > here probably knows ;). Is there some handy Ruby or > Rails library that can get data from other sites (like > Amazon and Flickr) via REST, then return it in nice > arrays, hashes, objects, etc.? I''ve searched quite a > bit and haven''t been able to really find anything. > There is a ruby-amazon library, but it''s for an older > version of Amazon''s API (3 rather than 4). I''m not > even sure how it goes about making and parsing REST > requests either. > > thanks > csn > > > > > __________________________________ > Yahoo! for Good - Make a difference this year. > http://brand.yahoo.com/cybergivingweek2005/ > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
There''s almost certainly no one-size-fits-all tool for consuming web services via REST. For Flickr, there''s a great gem (http://redgreenblu.com/flickr), really easy to use. The Flickr gem''s shown off by one of the new Rails screencasts very nicely (http://rubyonrails.org/screencasts). For Amazon, see this article: http://www.roryhansen.ca/2005/07/18/amazon-web-services-on-rails/ There''s another recent article on using AWS with Ruby, but it''s at Dr. Dobb''s behind a pay registration wall: http://www.ddj.com/documents/s=9506/ddj0502c/0502c.html>> This is probably more a Ruby question, but somebody >> here probably knows ;). Is there some handy Ruby or >> Rails library that can get data from other sites (like >> Amazon and Flickr) via REST, then return it in nice >> arrays, hashes, objects, etc.?