Gem Version Dependency Status Build Status Code Climate Coverage Status Bitdeli Badge

TurboRETS Innards

Gem for accessing RETS Servers

Current Status

  • [X] RETS Server Login
  • [X] Fetch Metadata
  • [X] Fetch Resource/Class Data
  • [X] GetObject
  • [ ] RETS 1.7.x User Agent Authentication

Usage Example

require 'innards'

conn = Innards::Connection.new(:login_url => "http://Joe:[email protected]:6103/rets/login")
conn.login!

# Fetch metadata
 = conn.

# Perform a Search
results = conn.search :SearchType => "Property",
                      :Class => "RES",
                      :Query => "(ListPrice=0+)"

# getObject
objects = conn.get_object :Type => "Photo",
                          :Resource => "Property",
                          :ID => "5:*"

con.logout!

License

Distributed under an AGPL license, see LICENSE file