Giter Club home page Giter Club logo

Comments (3)

dougcole avatar dougcole commented on August 22, 2024

Hi @Sinetheta, .find takes a second argument of an options hash. One of the options is :resolve, which if set to true will decode compact results. The other way to approach the problem is let the RETS server decode on their side by using the option `:format => 'COMPACT-DECODED'.

Sorry our examples are so sparse, if you have time and want to help add to them that'd be great! We have some documentation inline, which should also help. For example here is the documentation for .find: https://github.com/estately/rets/blob/master/lib/rets/client.rb#L53-L71

from rets.

Sinetheta avatar Sinetheta commented on August 22, 2024

Thanks @dougcole, I thought I tried resolve: true and still got back an array of hashes, but maybe that's related to the fact that my metadata (although fetching and parsing correctly) doesn't seem to be persisted to disk even when I use the file cache.

from rets.

dougcole avatar dougcole commented on August 22, 2024

Sorry @Sinetheta, sounds frustrating! resolve should work even if the metadata isn't persisted to disk, it'll just download it again if it isn't available.

from rets.

Related Issues (20)

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.