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 way to look for location is to provide the zip codes.

Further Improvements

Make the location searching more robust.

Challenges:

  • Many languages involved, eg Canton vs Kanton.
  • A location may have several meanings, eg Zug is a city and a Canton.

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.0.tar.gz (3.9 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.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: homegater-0.1.0.tar.gz
  • Upload date:
  • Size: 3.9 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.0.tar.gz
Algorithm Hash digest
SHA256 b84ba1ae3c9a2b63b660c5a7b6e8f182a1b4fb6a60c59356da03cb0c931ebfe5
MD5 e65afd28c6e2c9c35a2b7e924fdef133
BLAKE2b-256 84d40bd16c07694cebe6bef316f30316f9bfb3511a24492537e781c65c874104

See more details on using hashes here.

File details

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

File metadata

  • Download URL: homegater-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d2c19413f8a5d3ab4cb825a270f8f84398a3af8891c2d2ec6d8132de4c78d886
MD5 75016048d15a991b20296f99961f9cd7
BLAKE2b-256 502887f97dd847d05ad3a3259006a5e99b8ed675834f206d9c205dd3cc1a0f4f

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