ruby-rets is a Ruby client to allow you retrieve real estate data from RETS servers. You can easily integrate it with Statica for IP locked RETS servers:


 

require "ruby-rets"
proxy = URI(ENV["STATICA_URL"])

client = RETS::Client.login(:url => "http://rets.example.com:6103/rets2_1/Login", :username => "<retsuser>", 
:password => "<rets-password>", :http => {
:proxy => {
:address => proxy.host,
:port => proxy.port,
:username => proxy.user,
:password => proxy.password
}
})
p client