Skip to content

TelegramBot that finds flats on immobilienscout24.de and wg-gesucht.de

License

Notifications You must be signed in to change notification settings

pcace/flathunter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Flathunter-Helper

Setup

Virtual Environment (Optional)

To keep you python environment and site-packages clean, it is recommended to run the project in a virtual environment. Install virtualenv, create a venv and activate.

$ pip install virtualenv
$ virtualenv -p /usr/bin/python3.6 venv
$ source venv/bin/activate

Requirements

Install requirements from requirements.txt to run execute flathunter properly.

pip install -r requirements.txt

Usage

usage: flathunter.py [-h] [--config CONFIG]

Searches for flats on Immobilienscout24.de and wg-gesucht.de and sends results
to Telegram User

optional arguments:
  -h, --help            show this help message and exit
  --config CONFIG, -c CONFIG
                        Config file to use. If not set, try to use
                        '~git-clone-dir/config.yaml'

Configuration

Bot registration

A new bot can registered with the telegram chat with the BotFather.

Chat-Ids

To get the chat id, the REST-Api of telegram can be used to fetch the received messages of the Bot.

$ curl https://api.telegram.org/bot[BOT-TOKEN]/getUpdates

Google API

To use the distance calculation feature a Google API-Key is needed.

Contributers

About

TelegramBot that finds flats on immobilienscout24.de and wg-gesucht.de

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.1%
  • Dockerfile 0.9%