Python package for fetching and analyzing REALTOR.CA and REALTOR.COM MLS Listings
Project description
pyRealtor is a python package that provides fast and easy way to extract Multiple Listing Service (MLS) details, from REALTOR.CA, REALTOR.COM and HOUSING.COM, of any city / region within Canada, United States or India. The library provides functionality to easily store the extracted data in excel sheet for further analysis.
pyRealtor can be used to
- Analyze and extract all real estate listing in Canada, United States, India.
- Find only Open House on a specifc day in a particular area.
Installing
The easiest way to install the library is to execute (preferably in a virtualenv) the command:
pip install pyRealtor
Usage
- To get all real estate properties for sale in specific area
If the area is within Canada, then pyRealtor will fetch listings from REALTOR.CA
import pyRealtor
house_obj = pyRealtor.HousesFacade()
house_obj.search_save_houses(
search_area='Barrhaven'
)
If the area is within United States, then pyRealtor will fetch listings from REALTOR.COM
import pyRealtor
house_obj = pyRealtor.HousesFacade()
house_obj.search_save_houses(
search_area='Bentonville'
)
If the area is within India, then pyRealtor will fetch listings from HOUSING.COM
import pyRealtor
house_obj = pyRealtor.HousesFacade()
house_obj.search_save_houses(
search_area='Vastrapur'
)
If the city/area name is common between multiple countries, then by default pyRealtor will extract listings from any country. To externally request pyRealtor to fetch listing from a specific country:
import pyRealtor
house_obj = pyRealtor.HousesFacade()
house_obj.search_save_houses(
search_area='Ottawa',
country='Canada'
)
import pyRealtor
house_obj = pyRealtor.HousesFacade()
house_obj.search_save_houses(
search_area='whitefield',
country='India'
)
RELTOR.CA API has the rate limit, and it may block IP in case you trigger API multiple times in short period. In that case, you can use use_proxy argument.
import pyRealtor
house_obj = pyRealtor.HousesFacade()
house_obj.search_save_houses(
search_area='Barrhaven',
use_proxy=True
)
- To get only Open House listings in a specific area
import pyRealtor
house_obj = pyRealtor.HousesFacade()
house_obj.search_save_houses(
search_area='CITY/SUBURB',
open_house_date = 'MM/DD/YYYY'
)
import pyRealtor
house_obj = pyRealtor.HousesFacade()
house_obj.search_save_houses(
search_area='Barrhaven',
open_house_date = '10/29/2023'
)
(Note: Open House filter functionality is only available within Canadian region through REALTOR.CA.)
Terms of Use
pyRealtor is a tool to extract, filter and analyze publicly accessible MLS listings provided by REALTOR.CA. More information on the use of this data can be found on REALTOR.CA website: https://www.realtor.ca/terms-of-use
"REALTOR.CA website/database is a copyright-protected work which is owned by CREA. Part of the contents of REALTOR.CA website/database, including all real estate listings and related information, images and photographs (collectively, "Listing Content"), are also protected by copyright, which is owned by the CREA members who supplied the content and/or by third parties, and is reproduced in REALTOR.CA website/database under license. The contents of REALTOR.CA website/database, including the Listing Content, are intended for the private, non-commercial use by individuals. Any commercial use of the website/database, including the Listing Content, in whole or in part, directly or indirectly, is specifically forbidden except with the prior written authority of the owner of the copyright."
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyrealtor-0.2.5.tar.gz.
File metadata
- Download URL: pyrealtor-0.2.5.tar.gz
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa2476fda92bc8c4fcfc7f494085678c0b5c05f582af1487ca172a3df5e2f3bb
|
|
| MD5 |
c31ebca982b7e9d34f6169c67e23bd8a
|
|
| BLAKE2b-256 |
f51071005a92db7d43f5379d055596826f70e8405b0308ea4e5f8c514b7c1edb
|
File details
Details for the file pyrealtor-0.2.5-py3-none-any.whl.
File metadata
- Download URL: pyrealtor-0.2.5-py3-none-any.whl
- Upload date:
- Size: 27.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
274dd4f6bf3e4444b256019839b32519969d8d8f7b1c5ad4693816fc5792dd92
|
|
| MD5 |
a5b651ea72b86f5a0510b8a3d3d64375
|
|
| BLAKE2b-256 |
9b20bd70e781c3c1e53d51ba86aad6ccb484f8c4cc8c78ab4dfa9c110acf6f99
|