Access RETS services via a Static IP with the ruby-rets gem
ruby-rets is a Ruby client to allow you retrieve real estate data from RETS servers.
You can easily integrate it with XLRoutes for IP locked RETS servers:
require "ruby-rets"
proxy = URI(ENV["xlroutes_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
We have examples for other common libraries as well, but if you can’t find what you are looking for just send us a Support ticket and we’ll get the right one sent to you.