Skip to content

Mietpreiskarte für deutsche Städte (rent prices for German Cities)

Notifications You must be signed in to change notification settings

TheRadialActive/mietmap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Map for Flat Rental Prices

This is a map based on leaflet to display flat rental prices of German cities. This code gets refactored, so any German city can use this rent map.

The data is based on ads from Immobilienscout24 and is collected using a custom scraper written in python2. Scraper and heatmap generator are both part of the repo.

Usage

Clone the repository:

git clone https://github.com/Botopiaorg/mietmap.git
cd mietmap

Create a [virtualenv] and activate it:

virtualenv .venv
source .venv/bin/activate

Install the dependencies:

pip install -r requirements.txt

Set your configuration (edit it to your needs):

cp config.sample.json config.json

Run the scraper to get the prices and addresses from ImmobilienScout24:

python scraper/scrape.py

--help shows the available options. Log messages are written to scrape.log.

Run the overlay.py to create the color overlay for the map:

python overlay.py

Open up your browser and insert the path of the index.html in your url bar.

License

Licensed under the MIT license, see the file LICENSE.

It's a forked project from CodeforKarlsruhe. Thanks, you are awesome!

About

Mietpreiskarte für deutsche Städte (rent prices for German Cities)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 42.9%
  • JavaScript 26.1%
  • CSS 23.3%
  • HTML 7.7%