refindlyllc / rets

A thin RETS client
MIT License
69 stars 26 forks source link

README example with rets_client.get_resources produces AttributeError #161

Closed imbilltucker closed 7 years ago

imbilltucker commented 7 years ago

From the Readme:

from rets import Session login_url = 'http://retrsprovider.com/login' username = 'user123' password = 'a48a*32fa$5' rets_client = Session(login_url, username, password) rets_client.login() system_data = rets_client.get_system_metadata() system_data {'version': '1.11.76004', 'system_description': 'MLS-RETS', 'system_id': 'MLS-RETS'} resources = rets_client.get_resources(resource='Agent')

Produces error:


rets_client.get_resources('Agent')
Traceback (most recent call last):
  File "<input>", line 1, in <module>
AttributeError: 'Session' object has no attribute 'get_resources'