Skip to content

A bot that scrapes apartments off Viewit for Toronto, and then applies filter selection (price, distance to subway, walking distance to subway, commute to work via subway/bus/walking, etc.) to add listings to a sqlite database. The new listings are then properly formatted and sent to the users Slack channel.

Notifications You must be signed in to change notification settings

achhina/apartment-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toronto Apartment Finder

This is a bot that will scrape all listings off Viewit and then using the filters that you have selected will post each listing to slack for you to be able to get a condensed view of all rental options matching your criteria.

Filters

  • Price Range
  • Closest Subway Station
  • Distance to Closest Subway Station
  • Walking Distance to Closest Subway Station
  • Commute Time to Work via Subway/Bus/Walking

Implementation

After the bot has scraped all listings on Viewit, it will reference a sqlite database to remove all duplicates. Then it will apply the filter selection through Viewit pricing, and use the address from Viewit to grab GPS coordinates from Google Maps. It will then use those GPS coordinates and again reference Google Maps API to get various distance filter selections. Once the filtering is complete, it will format all of the new available listings into appropriate Slack messages and push them using Slack's API.

The default Slack message format is a picture of the listing, as well as hyperlinks to the listing, phone number, any emails that are provided, as well as the filter criteria selection displayed. This can be changed in the settings file if needed.

This project was inspired by Ian Whitesone, please feel free to check him out.

About

A bot that scrapes apartments off Viewit for Toronto, and then applies filter selection (price, distance to subway, walking distance to subway, commute to work via subway/bus/walking, etc.) to add listings to a sqlite database. The new listings are then properly formatted and sent to the users Slack channel.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages