Giter VIP home page Giter VIP logo

jrets's Introduction

Provides java support for the Real Estate Transaction Standard.

This project is a continuation of the CART RETS client. While no releases have been prepared for cart for some time, it has been continually maintained via it's HEAD branch. The HEAD branch was ported into this project.

It is currently in use with ALL major MLS vendors and many minor ones. It also currently connects well with the Avantia Reference implementation and the Variman RETS server.

Quick Start Guide:

        RetsSession session = new RetsSession("http://retsserver.com/loginurl");
        // login
        session.login("username","password");
        // metadata (simple default to standard xml)
        session.getMetadata();
        // metadata request
        GetMetadataRequest request = new GetMetadataRequest("SYSTEM", "*");
        this.format.setMetadataResultFormat(request);
        MetaObject[] metadata = session.getMetadata(request).getMetadata();
        if(metadata.length != 1 || !(metadata[0] instanceof MSystem))
                throw new IllegalArgumentException("1 MetaObject of type MSystem was expected.");
        MSystem system = (MSystem) metadata[0];
        Metadata metadata = new Metadata(system);
        // search 
        session.search(new SearchRequest("Property","Residential","(ListingStatus=|A)"));
        // getobject MAIN
        Iterator<SingleObjectResponse> single = session.getObject("Property", "Photo", "MLNUM-10009", "0").iterator();
        // getobject ALL
        Iterator<SingleObjectResponse> many = session.getObject("Property", "Photo", "MLNUM-10009", "*").iterator();

Ecilpse project setup allows the addition of this project under eclipse and immediate use under eclipses tools.   Ant build files exist for generating the jars for inclusion in other projects.

jrets's People

Contributors

jpfielding avatar jmmartin avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.