Please help me to get the data from RETS Server. I am trying to use Phrets library but their documentation is old and mostly functions are not working.
URL: http://blackhills.rets.paragonrels.co... User: RETSWALT17
http://blackhills.rets.paragonrels.co...
I am getting error here This XML file does not appear to have any style information associated with it. The document tree is shown below. <rets replycode="20036" replytext="Miscellaneous server login error. Missing RETS-Version"> </rets>
http://blackhills.rets.paragonrels.co...)
I am getting error here also This XML file does not appear to have any style information associated with it. The document tree is shown below. <rets replycode="20036" replytext="Miscellaneous server login error. Missing RETS-Version"> </rets>
while I am able to get some information here only.. http://blackhills.rets.paragonrels.co...
Please help me to get the data from RETS Server. I am trying to use Phrets library but their documentation is old and mostly functions are not working.
Comments
When using the URLs in a browser, you need to have the rets-version parameter in each request.
What kind of issues are you having with PHRETS?
I'm not a PHP developer, but I was able to get basic functionality just using the command line.
Was able to do: login, disconnect (logout), getmetadata, search, and getobject URLs.
Some examples are on the main project page.
One thing with the examples is that you need to replace the dummy class and field names with the actual ones for the MLS you are connecting to.
$results = $rets->Search('Property', 'RE_1', '(L_UpdateDate=2018-01-01+)', ['Limit' => 3, 'Select' => L_ListingID,L_Status,L_UpdateDate']);
You can also use www,retsmd.com to connect and look at the metadata.