Skip to main content

A Python package to retrieve data from homegate.ch

Project description

Homegater

This is a client python api aim to query homegate.ch buy and rent properties. The python package and client API is done purely for academic/experimental purpose and not approved for any commercial usage. It is not an official API.

Installation

If you want to ge the latest version

pip install homegater

Usage

from homegater import Homegate

api = Homegate()

# Search by zip-code
api.search_rent_listings(location="8001")

# Search by Gemeinde
api.search_buy_listings(location="Horgen")

# Search in Switzerland
api.search_buy_listings()

# Specify arguments
kwargs = {"monthlyRent": {"from": 100, "to": 3000000}}
api.search_rent_listings(location="8001", **kwargs)

More examples can be found on API usage examples.

Location

The location should be a valid location used in homegate.ch search. The suggested and most straight forward/robust is to provide the zip codes.

Further Improvements

Make the location searching more robust even when the user provides the location name.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

homegater-0.1.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

homegater-0.1.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file homegater-0.1.1.tar.gz.

File metadata

  • Download URL: homegater-0.1.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Windows/11

File hashes

Hashes for homegater-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c5fda12f4bf1d4203cbb62da57b3bafc9dcd5669b2b28fb456b200ff84961b34
MD5 80e18ca3e33980f6a3979b673ae337c2
BLAKE2b-256 361f57820542d96d47710643c9178e066d148601da507206ce86e4ee52a85e25

See more details on using hashes here.

File details

Details for the file homegater-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: homegater-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Windows/11

File hashes

Hashes for homegater-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e9739d51d53a7201d66bd6799c8a962fab8f4d6c5e1003316035f5e7d0bd60ba
MD5 a997cca0c6239568191044a54a4d3a48
BLAKE2b-256 8b048ba62820758000a6738b4f82ca16aba04f20853ad383280311656cf932c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page