Cart RETS Client Home | Documentation | Links | Run on Windows | Run, All Platforms

If you're interested in using just the RETS client library that we're developing as part of CART, you can download it here:

This library uses several external packages which you will need:

Using the library

First off, the javadocs are right here.

Now, here's a brief sample. More documentation is coming.

import org.realtors.rets.client.RetsSession;
import org.realtors.rets.client.SearchRequest;
import org.realtors.rets.client.SearchResult;

class RetsTest {
    public static void main (String args) {
        RetsSession session = new RetsSession(
            "http://demo.crt.realtors.org:6103/login");
        // implicitly calls getMetadata()
        session.login("Username", "Password");

        SearchRequest req = new SearchRequest(
            "Property", "ResidentialProperty", "(LP=300000-)");
        SearchResult res = session.search(req);

        session.logout();
    }
}

Status

The following transactions are supported: Login, GetMetadata, Search, GetObject (one object only, no multiple object requests), Logout. Update will be supported in a future release.