Access RETS via Static IP with ruby-rets gem
Table of contents
ruby-rets is a Ruby client to allow you retrieve real estate data from RETS servers.
You can easily integrate it with QuotaGuard for IP locked RETS servers:
require "ruby-rets"
proxy = URI(ENV["QUOTAGUARD_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.