Import your apartment search to Google My Maps.
Apartment listing sites provide basic search filters to help narrow down listings. However, there is no way to consider custom factors outside what a site allows. Maybe you want to look at bus routes, crime, or even noise levels.
I pulled apartments in the Los Angeles area and displayed them alongside Metro stations:
Each location has the price range and a link back to the original listing:
If you want to add accurate commute estimates, use directions.py
to modify your apartments.tsv
file:
- Do your search on a supported website.
- Right click on the page and hit "Inspect Element". In Chrome, this is just "Inspect".
- Beware that this changes the size of the map and the results may change.
- For best results, make sure you are on the first page of results.
- Go to the tab that says "Console".
- Copy and paste apartments.js into the console. When it's done, the page will offer to save a TSV file. Download that.
- You may receive a warning about only pasting code you trust. Bypass that. If you have any concerns, feel free to read the code 🙂
- Upload it to Google My Maps
- If you don't have a map yet, create one
- Click
Add layer
- On the new layer, click
Import
- Select your TSV file
- Pick address for the positioning column.
- Pick name for the marker name column.
If you want accurate distance estimates using Google Maps:
- Get credentials for the Google Distance Matrix API
- Open
directions.py
and customize relevant variables - Run
directions.py
withapartments.tsv
in the same folder - Use
apartments-with-distance.tsv
in lieu ofapartments.tsv
when following steps to add to Google My Maps.