Git Product home page Git Product logo

gorets's People

Contributors

christopherdbond avatar cpaulbond avatar dimagv avatar graphaelli avatar greenenergy avatar jmccarty3 avatar jpfielding avatar kelcecil avatar mattnenterprise avatar riggsd avatar thewozard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gorets's Issues

Appengine & Ubuntu failed to compile due to undefined: client.GetMetadata

Hi,

I tried to run Gorets both in Appengine and Ubuntu but I get an error which seems like a missing function? Kindly let me know what you think I missed to do? By the way, I used the given sample code in the main readme page of gorets; do I need to update anything on the given sample code?

./gorets.go:76: undefined: client.GetMetadata
./gorets.go:80: unknown client.MetadataRequest field 'Id' in struct literal
./gorets.go:93: undefined: client.COUNT_AFTER
./gorets.go:97: undefined: client.Search
./gorets.go:111: too many arguments to conversion to client.GetObject: client.GetObject(session, ctx, client.GetObjectRequest literal)
./gorets.go:127: too many arguments to conversion to client.GetObject: client.GetObject(session, ctx, client.GetObjectRequest literal)

Thanks a lot!
-Edwin

unexpected EOF while making a search Compact

Hello, cheers! I am facing a repetitive problem while am pulling data using gorets. I don't know if it's gorets related, HTTP or my implementation. The problem is that in some request after I make a SearchCompact then am getting unexpected EOF

The logs of the search is as follows:

POST /rets/Search.ashx HTTP/1.1
Host: matrixrets.pcmls.com
User-Agent: Threewide/1.0
Content-Length: 156
Accept: */*
Authorization: Digest username="15551", realm="MATRIX", nonce="MjAxOC0xMS0xNCAwMDo1MDoyNS43Njg", uri="/rets/Search.ashx", response="3a56c08963b6dfaa0af0f663079ba12f", qop=auth, nc=0000000b, cnonce=$
Content-Type: application/x-www-form-urlencoded
Cookie: AWSALB=8jcZi34A2hw558yRHgYqEYWUeolxTzRWvfLCZPURLN8V30A8VjzjS6F2H/WP1ih+qNDKB6afLP3TkobiAeLIlaDzqL15IuW3x+8xo201jC8uA9dK/xQTIdI9; ASP.NET_SessionId=sjytbucm0vy1jhmnosyznn5t
Rets-Version: RETS/1.8


Class=Listing&Count=1&Format=COMPACT&Limit=500&Offset=20000&Query=%28LastChangeTimestamp%3D2015-01-01T00%3A00%3A00%2B%29&QueryType=DMQL2&SearchType=PropertyHTTP/1.1 200 OK
Date: Tue, 13 Nov 2018 23:50:45 GMT
Content-Type: text/xml; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: AWSALB=9QcBTCKmkFqw7HpAdZNTJbookeq3AldZQp9ZdruLsC+Yf622RVSXT02WNtTMneiP4eZy/amSgUE6m5999y3YS8DqS47Msn6wNxc5uskKlJQGr3p8Yas2GHfgZjSK; Expires=Tue, 20 Nov 2018 23:50:45 GMT; Path=/
Cache-Control: private
Server: Microsoft-IIS/8.0
RETS-Version: RETS/1.8
X-AspNet-Version: 4.0.30319
X-UA-Compatible: IE=Edge
X-Content-Type-Options: nosniff

And the last data retrieved is as follows https://pastebin.com/raw/7ck2ndgs

So, where may I be failing? or how can I avoid this and get all the data?

Problem to Connect to http://testing.reso.org

hi,

im trying to connect to http://testing.reso.org but i have a problem, always give me 401 - Unauthorized: Access is denied due to invalid credentials.

also i ran gorets explore but get the same message
screenshot_2018-04-10_08-28-31

i ran unsing the following credentials

Login URL: http://testing.reso.org:9080/Login.asmx/Login
User Name: leonardoo
Password: leonardoo
User Agent: ResoTestingClient/1.0
User Agent Password: ResoCompl
RETS Version: RETS/1.7.2

also i did a test using https://retsmd.com/ and it work ok and got all the metadata

Thanks

Saving connection configs

Hi,

I'm trying to persist connection configs.
Tried, creating a json and map it in docker launch but no joy
-v ./gorets-explorer/config.json:/opt/explorer/config.json:rw

Any suggestions?

Running RETS-MD on Hosting Site

Hello

I'm trying to install RET-MD on my own hosting site but I keep getting the following error returned:

RETS M.D.
Error
There was an issue communicating with the RETS server:

HTTP (0)

thanks

Brian

digest auth refactor

digest auth works and passes unit tests, but needs a less ugly nc and cnonce calc along with making the processing more idiomatic.

GoDoc gone

The link to the Go Docs now returns a 404. Someone removed your docs!

cannot find package "context" when building

When trying to build the gorets library with Go 1.6, I get the following error.

rets/get.go:7:2: cannot find package "context" in any of:
    /Users/me/workspaces/go/src/github.com/jpfielding/gorets/vendor/context (vendor tree)
    /usr/local/go/src/context (from $GOROOT)
    /Users/me/workspaces/go/src/context (from $GOPATH)
make: *** [test] Error 1

If I replace the "content" import by "golang.net/x/net/context" then it works.

PS: This is a great library, by the way. Kudos JP!!

PKG Docs

Heya, trying to work out how to use this package outside of the CMD and Explorer functionalities, and I'm sort of for want of docs around how to accomplish some basic interactions.

For simple comparison, I'm currently using estately/rets (though I am looking to get off of Ruby)

In their repo, there's a brief examples directory that, while very unhelpful for more complicated interactions, does give some idea for how to start using things.

An example of this would be here: https://github.com/estately/rets/blob/master/example/connect.rb

I'm not a terribly experienced Go developer, so these issues I'm having might just be related to this... though it would be nice to see a relatively straight-forward script that takes in some auth values and a url and gives back a usable session.

Any help around this would be appreciated.

Thanks.

Commit 5696c4cd19232baa0e8a414fa811bb4a47e57033 breaks login

Not sure what it was that changed in this particular commit (labelled issue #52 where intereality server challenges both basic and digest, but only accepts digest) but it broke my ability to log into my RETS server.

This is observable in the gorets tool, when running search:

search: unable to parse capabilites response: failed to read urls

Expose HTTP and RETS response codes

need to hand back http and rets response codes as return params. some mls' return 404 and we start the xml processing too late to notice.

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.