A simple program that scans Zillow and Redfin and returns results that will have an estimated net monthly income of a value, which you can set.
Instructions for use:
-
Make sure that househunt.py, searchresults.py, and mortgage.py are all in the working directory.
-
Create a Gmail Account and a Zillow API Key
-
Set your envars by running the following commands in Terminal (you'll need to do this each time you run the script):
export GMAIL_EMAIL='gmail@gmail.com'
export GMAIL_PASSWORD='xxxxxxxx'
export ZILLOW_API_KEY='yyyyyyyyy'
-
Fill out the email list, where you want the results, in line 46.
-
Set your other customizations in the main function, lines 71 onward.
-
Run the script.
#NOTES:
How to find the region ID for Redfin:
- Do a search for the city (ie. Chicago)
- You'll see a URL like this: https://www.redfin.com/city/29470/IL/Chicago
- Region code in this example is 29470
To adjust the number of homes scanned, go to 'househunt.py', line 675 ('num_homes') and set the number there.