Giter Site home page Giter Site logo

honk-handel-analytiek's Introduction

Move.nl House Listing Tracker

This repository contains a Python application that consists of multiple data pipelines. These pipelines follow the extract, transform, and load design principle. An online housing platform functions as a source of information, as housing details are normalized, they are loaded into Airtable.

Overview

The pipelines' data resolves around house listening. It features pipelines to fulfill the following purposes:

Overview extract

A page is opened, containing an overview of house listings. The listing platform account search criteria are applied. During extraction, loading as many available listings as possible is attempted. The little details of the listing are then loaded into Airtable.

Details extract

Following the overview extraction process, more details about the listing are gathered. The listing details of unsold houses are updated if they are older than one week. Commonly described details from the listing page are extracted. The detailed information is then added to the existing record in Airtable.

Set-up

Requires https://www.python.org/ (^3.10), Poetry, and Selenium installed onto the target installation system. Furthermore, credentials for the Move.nl housing platform and Airtable API are requisites.

Installation

With Python installed on the target system, further installation of Python dependencies is required. Use the Poetry Python dependency manager to install them. Execute the following snippet on a command-line interface (CLI) after navigating to the repository base directory (the folder this file is located in):

poetry install

A simple environment variable configuration is needed for the application to connect to external systems. Copy, or rename, the example environment configuration example.env to .env. Execute the following snippet in the CLI while in the base repository (or use your preferred file explorer):

cp example.env .env

Then edit the .env file accordingly with the credentials.

# Username of move.nl account
MOVE_USERNAME=PLACEHOLDER
# Password of move.nl account
MOVE_PASSWORD=PLACEHOLDER

# Personal access token of Airtable API
AIRTABLE_TOKEN=PLACEHOLDER
# The Airtable base identicator where the data will be loaded
AIRTABLE_BASE=PLACEHOLDER
# Airtable table identicator in the base to hold loaded data
AIRTABLE_TABLE=PLACEHOLDER

Running the application

After installation and configuration, run the application with the following command:

poetry run python housetrack

See Makefile for additional parameters.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.