Froren / realtorca

API wrapper for realtor.ca MLS website
199 stars 76 forks source link

Way to get listings by agent? #1

Closed advaitsaravade closed 7 years ago

advaitsaravade commented 7 years ago

I was wondering if the node app could search for listings on realtor.ca by REALTOR name/MLS identifier? (sorry I had to open this as an issue, there was no way to contact you on github) :/

kristophor commented 7 years ago

there definitely is one,but I am in China right now, will get back to you Monday or Tuesday 

发自 iPhone 版 Yahoo 邮箱

星期四, 九月 28, 2017, 10:02 于 Advait Saravade notifications@github.com写道:

I was wondering if the node app could search for listings on realtor.ca by REALTOR name/MLS identifier? (sorry I had to open this as an issue, there was no way to contact you on github) :/

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Froren commented 7 years ago

Hey hmm I hadn't really checked it out. It seems like you can, with the OrganizationId parameter.

(You can find it from a broker page like so: https://www.realtor.ca/Residential/OfficeDetails.aspx?OrganizationId=50357)

kristophor commented 7 years ago

correct, you can also search by agent ID

发自 iPhone 版 Yahoo 邮箱

星期四, 九月 28, 2017, 11:25 于 Froren notifications@github.com写道:

Hey hmm I hadn't really checked it out. It seems like you can, with the OrganizationId parameter.

(You can find it from a broker page like so: https://www.realtor.ca/Residential/OfficeDetails.aspx?OrganizationId=50357)

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub, or mute the thread.

advaitsaravade commented 7 years ago

@kristophor @Froren thanks for guiding me in the right direction. You can search using agent ID (it can actually be called via the opts variable using IndividualID rather than AgentID) and its value can be obtained from the agent's URL on realtorca.