Closed giovannirescia closed 6 years ago
I think the issue is with your query. not that familiar with python but you can try
req = session.CreateSearchRequest("Property", "CMF", "(YearBuilt=2018-)")
you can create different search query based on your feed class and tables.
@nyousefzai That didn't do trick either, I also tried different queries and classes.
are you able to get metadata?
Yes, I can get the metadata. Finally I solved this problem with the following line req.SetFormatType(librets.SearchRequest.COMPACT_DECODED)
.
@giovannirescia Thanks for posting that solution. Saved me hours of figuring out a solution.
Quick question for you - are the 'Date' fields looking weird for you when setting the request to COMPACT_DECODED? My date fields are coming out in this format: XX:XX.0 and it doesn't seem to include the date.
@Valachio I switched to https://github.com/opendoor-labs/rets which is easier to use, hope it helps you!
@giovannirescia Thanks for that link. For whatever reason I cannot seem to login with opendoor's rets client. Going have to figure out this date issue with librets...
Hi all, am using libRETS for the first time, and used the Developer's Guide as a tutorial, the problem is that I can't get the columns from the queries, for example:
res.GetCount()
yields 438 hits, butres.GetColumns()
returns an empty tuple, what am I missing?I am using the Python binding for this.
Thanks, Giovanni